[Cbe-oss-dev] [patch 3/5] petitboot: Add make warnings

Geoff Levand geoffrey.levand at am.sony.com
Tue Jan 13 12:29:28 EST 2009


Add some compiler warnings to the default build.

Signed-off-by: Geoff Levand <geoffrey.levand at am.sony.com>
---
 rules.mk |    2 ++
 1 file changed, 2 insertions(+)

--- a/rules.mk
+++ b/rules.mk
@@ -2,6 +2,8 @@
 VPATH = $(srcdir)
 
 CPPFLAGS += -I$(top_srcdir) -I$(top_srcdir)/lib -I$(builddir)
+CFLAGS += -Wall -W -Wunused -Wstrict-prototypes -Wmissing-prototypes \
+	-Wmissing-declarations -Wredundant-decls -Winline
 
 # we need paths to be overridable at build-time
 DEFS += '-DPREFIX="$(prefix)"' '-DPKG_SHARE_DIR="$(pkgdatadir)"' \





More information about the cbe-oss-dev mailing list