Minor build tweaks that save 1100 bytes building busybox on Ubuntu 6.06.
This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)
No binary (build failed)
—
(log yok)
| @@ -174,6 +174,7 @@ CHECKED_CFLAGS+=$(call check_cc,$(CC),-Wshadow,) | |
| CHECKED_CFLAGS+=$(call check_cc,$(CC),-funsigned-char,) | |
| CHECKED_CFLAGS+=$(call check_cc,$(CC),-mmax-stack-frame=256,) | |
| CHECKED_CFLAGS+=$(call check_cc,$(CC),-fno-builtin-strlen) | |
| + | CHECKED_CFLAGS+=$(call check_cc,$(CC),-finline-limit=0) |
| # Preemptively pin this too. | |
| PROG_CFLAGS:= | |
| @@ -551,4 +551,19 @@ extern uint32_t *bb_crc32_filltable (int endian); | |
| extern const char BB_BANNER[]; | |
| + | // Make sure we call functions instead of macros. |
| + | #undef isalnum |
| + | #undef isalpha |
| + | #undef isascii |
| + | #undef isblank |
| + | #undef iscntrl |
| + | #undef isdigit |
| + | #undef isgraph |
| + | #undef islower |
| + | #undef isprint |
| + | #undef ispunct |
| + | #undef isspace |
| + | #undef isupper |
| + | #undef isxdigit |
| + | |
| #endif /* __LIBBUSYBOX_H__ */ | |