From: greg@kroah.com Date: Wed, 22 Oct 2003 07:18:49 +0000 (-0700) Subject: [PATCH] more warning flags to the build. X-Git-Tag: 005~25 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bfd1a56436684ab1bc0d8e3661d6df81d3c82ef;p=systemd [PATCH] more warning flags to the build. --- diff --git a/Makefile b/Makefile index 2cc0c2a6..6710ede1 100644 --- a/Makefile +++ b/Makefile @@ -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)