aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-07-06 17:22:54 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-07-06 17:22:54 +0000
commit0f492c08c924fc73fe7c5866ccbaa123f6aadf7f (patch)
treefc68309e2101510bc67a24ebfa8ad95dae2c9bb8
parentc3bf593568743c93414c94966448a7a3e258fd7b (diff)
downloadbusybox-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.mak1
-rw-r--r--include/libbb.h15
2 files changed, 16 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index 58a4c3e70..6df828c7c 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -174,6 +174,7 @@ CHECKED_CFLAGS+=$(call check_cc,$(CC),-Wshadow,)
174CHECKED_CFLAGS+=$(call check_cc,$(CC),-funsigned-char,) 174CHECKED_CFLAGS+=$(call check_cc,$(CC),-funsigned-char,)
175CHECKED_CFLAGS+=$(call check_cc,$(CC),-mmax-stack-frame=256,) 175CHECKED_CFLAGS+=$(call check_cc,$(CC),-mmax-stack-frame=256,)
176CHECKED_CFLAGS+=$(call check_cc,$(CC),-fno-builtin-strlen) 176CHECKED_CFLAGS+=$(call check_cc,$(CC),-fno-builtin-strlen)
177CHECKED_CFLAGS+=$(call check_cc,$(CC),-finline-limit=0)
177 178
178# Preemptively pin this too. 179# Preemptively pin this too.
179PROG_CFLAGS:= 180PROG_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
552extern const char BB_BANNER[]; 552extern 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__ */