aboutsummaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-04-02 20:41:55 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-04-02 20:41:55 +0000
commit7f778106335924f80aeefd9602adf9e36bae96af (patch)
tree75e18b685b0932e561b02bab41899bd1303194aa /Rules.mak
parenta1bccc0ba82cc2eef117bb90cd33867df35ad33a (diff)
downloadbusybox-w32-7f778106335924f80aeefd9602adf9e36bae96af.tar.gz
busybox-w32-7f778106335924f80aeefd9602adf9e36bae96af.tar.bz2
busybox-w32-7f778106335924f80aeefd9602adf9e36bae96af.zip
- switch Warning Of the Week to wrong or missing prototypes.
e.g. archival/uncompress.c wrongly includes libbb.h instead of busybox.h decompress_bunzip2.c,open_transformer.c don't include the proper "unarchive.h" etc, etc.
Diffstat (limited to '')
-rw-r--r--Rules.mak8
1 files changed, 3 insertions, 5 deletions
diff --git a/Rules.mak b/Rules.mak
index 98ed96543..ada1735e8 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -198,11 +198,9 @@ else
198endif 198endif
199# warn a bit more verbosely for non-release versions 199# warn a bit more verbosely for non-release versions
200ifneq ($(EXTRAVERSION),) 200ifneq ($(EXTRAVERSION),)
201 CFLAGS+=$(call check_gcc,-Wformat,) 201 CFLAGS+=$(call check_gcc,-Wstrict-prototypes,)
202 CFLAGS+=$(call check_gcc,-Wformat=2,) 202 CFLAGS+=$(call check_gcc,-Wmissing-prototypes,)
203 CFLAGS+=$(call check_gcc,-Wformat-nonliteral,) 203 CFLAGS+=$(call check_gcc,-Wmissing-declarations,)
204 CFLAGS+=$(call check_gcc,-Wformat-security,)
205 CFLAGS+=$(call check_gcc,-Wformat-y2k,)
206endif 204endif
207STRIPCMD:=$(STRIP) -s --remove-section=.note --remove-section=.comment 205STRIPCMD:=$(STRIP) -s --remove-section=.note --remove-section=.comment
208ifeq ($(strip $(CONFIG_STATIC)),y) 206ifeq ($(strip $(CONFIG_STATIC)),y)