summaryrefslogtreecommitdiff
path: root/Makefile.flags
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-12-06 21:51:59 +0000
committerBernhard Reutner-Fischer2006-12-06 21:51:59 +0000
commitfeea1b972ce25ceb4569e5089a7c0319e5a7d447 (patch)
tree52e0a138c5126a68a14405ab3404c5d42071f6db /Makefile.flags
parentbc95f579322c8e2286c50443f9ce8c88922c7da5 (diff)
downloadbusybox-feea1b972ce25ceb4569e5089a7c0319e5a7d447.zip
busybox-feea1b972ce25ceb4569e5089a7c0319e5a7d447.tar.gz
- better distinction between CFLAGS and CPPFLAGS.
Diffstat (limited to 'Makefile.flags')
-rw-r--r--Makefile.flags4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.flags b/Makefile.flags
index 0c680f9..bb5cef0 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -13,7 +13,9 @@ CPPFLAGS += \
-include include/autoconf.h \
-D_GNU_SOURCE -DNDEBUG \
$(if $(CONFIG_LFS),-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64) \
- -D"BB_VER=KBUILD_STR($(BB_VER))" -DBB_BT=AUTOCONF_TIMESTAMP \
+ -D"BB_VER=KBUILD_STR($(BB_VER))" -DBB_BT=AUTOCONF_TIMESTAMP
+
+CFLAGS += \
-Wall -Wstrict-prototypes -Wshadow -Werror -Wundef \
-funsigned-char -fno-builtin-strlen -finline-limit=0 -static-libgcc \
-Os -falign-functions=1 -falign-jumps=1 -falign-loops=1 \