diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-07-06 17:22:54 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-07-06 17:22:54 +0000 |
commit | 0f492c08c924fc73fe7c5866ccbaa123f6aadf7f (patch) | |
tree | fc68309e2101510bc67a24ebfa8ad95dae2c9bb8 | |
parent | c3bf593568743c93414c94966448a7a3e258fd7b (diff) | |
download | busybox-w32-0f492c08c924fc73fe7c5866ccbaa123f6aadf7f.tar.gz busybox-w32-0f492c08c924fc73fe7c5866ccbaa123f6aadf7f.tar.bz2 busybox-w32-0f492c08c924fc73fe7c5866ccbaa123f6aadf7f.zip |
Minor build tweaks that save 1100 bytes building busybox on Ubuntu 6.06.
git-svn-id: svn://busybox.net/trunk/busybox@15657 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | Rules.mak | 1 | ||||
-rw-r--r-- | include/libbb.h | 15 |
2 files changed, 16 insertions, 0 deletions
@@ -174,6 +174,7 @@ CHECKED_CFLAGS+=$(call check_cc,$(CC),-Wshadow,) | |||
174 | CHECKED_CFLAGS+=$(call check_cc,$(CC),-funsigned-char,) | 174 | CHECKED_CFLAGS+=$(call check_cc,$(CC),-funsigned-char,) |
175 | CHECKED_CFLAGS+=$(call check_cc,$(CC),-mmax-stack-frame=256,) | 175 | CHECKED_CFLAGS+=$(call check_cc,$(CC),-mmax-stack-frame=256,) |
176 | CHECKED_CFLAGS+=$(call check_cc,$(CC),-fno-builtin-strlen) | 176 | CHECKED_CFLAGS+=$(call check_cc,$(CC),-fno-builtin-strlen) |
177 | CHECKED_CFLAGS+=$(call check_cc,$(CC),-finline-limit=0) | ||
177 | 178 | ||
178 | # Preemptively pin this too. | 179 | # Preemptively pin this too. |
179 | PROG_CFLAGS:= | 180 | PROG_CFLAGS:= |
diff --git a/include/libbb.h b/include/libbb.h index db43984b8..6d6213901 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -551,4 +551,19 @@ extern uint32_t *bb_crc32_filltable (int endian); | |||
551 | 551 | ||
552 | extern const char BB_BANNER[]; | 552 | extern const char BB_BANNER[]; |
553 | 553 | ||
554 | // Make sure we call functions instead of macros. | ||
555 | #undef isalnum | ||
556 | #undef isalpha | ||
557 | #undef isascii | ||
558 | #undef isblank | ||
559 | #undef iscntrl | ||
560 | #undef isdigit | ||
561 | #undef isgraph | ||
562 | #undef islower | ||
563 | #undef isprint | ||
564 | #undef ispunct | ||
565 | #undef isspace | ||
566 | #undef isupper | ||
567 | #undef isxdigit | ||
568 | |||
554 | #endif /* __LIBBUSYBOX_H__ */ | 569 | #endif /* __LIBBUSYBOX_H__ */ |