diff options
author | greg@kroah.com <greg@kroah.com> | 2003-10-22 00:18:49 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:04:09 -0700 |
commit | 7bfd1a56436684ab1bc0d8e3661d6df81d3c82ef (patch) | |
tree | 99f5f771598e501c01d9b96b6814657e3ad130b2 | |
parent | c2ec26b92809193a5126d34299abfe8df7877c0c (diff) |
[PATCH] more warning flags to the build.
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -74,7 +74,8 @@ GCC_LIB := $(shell $(CC) -print-libgcc-file-name ) OPTIMIZATION := ${shell if $(CC) -Os -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \ then echo "-Os"; else echo "-O2" ; fi} -WARNINGS := -Wall -Wshadow -Wstrict-prototypes +# add -Wredundant-decls when libsysfs gets cleaned up +WARNINGS := -Wall -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations # Some nice architecture specific optimizations ifeq ($(strip $(TARGET_ARCH)),arm) |