diff options
author | Bernhard Reutner-Fischer | 2006-04-02 20:41:55 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2006-04-02 20:41:55 +0000 |
commit | 7f778106335924f80aeefd9602adf9e36bae96af (patch) | |
tree | 75e18b685b0932e561b02bab41899bd1303194aa /Rules.mak | |
parent | a1bccc0ba82cc2eef117bb90cd33867df35ad33a (diff) | |
download | busybox-7f778106335924f80aeefd9602adf9e36bae96af.zip busybox-7f778106335924f80aeefd9602adf9e36bae96af.tar.gz |
- 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 'Rules.mak')
-rw-r--r-- | Rules.mak | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -198,11 +198,9 @@ else endif # warn a bit more verbosely for non-release versions ifneq ($(EXTRAVERSION),) - CFLAGS+=$(call check_gcc,-Wformat,) - CFLAGS+=$(call check_gcc,-Wformat=2,) - CFLAGS+=$(call check_gcc,-Wformat-nonliteral,) - CFLAGS+=$(call check_gcc,-Wformat-security,) - CFLAGS+=$(call check_gcc,-Wformat-y2k,) + CFLAGS+=$(call check_gcc,-Wstrict-prototypes,) + CFLAGS+=$(call check_gcc,-Wmissing-prototypes,) + CFLAGS+=$(call check_gcc,-Wmissing-declarations,) endif STRIPCMD:=$(STRIP) -s --remove-section=.note --remove-section=.comment ifeq ($(strip $(CONFIG_STATIC)),y) |