From patchwork Tue Jan 13 01:29:28 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/5] petitboot: Add make warnings Date: Mon, 12 Jan 2009 15:29:28 -0000 From: Geoff Levand X-Patchwork-Id: 18132 Message-Id: <496BEE78.2010409@am.sony.com> To: Jeremy Kerr Cc: cbe-oss-dev@ozlabs.org Add some compiler warnings to the default build. Signed-off-by: Geoff Levand --- 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)"' \