diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-01-10 12:48:06 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-01-10 12:49:30 -0800 |
commit | 71d20885019564586d5f4d316af220cdae2900f5 (patch) | |
tree | 0fb3024519040f20f4e46d87315a14ef571ee6c2 /MCONFIG.embedded | |
parent | a7fb4143d599529def315c444c83a8e1aac734d2 (diff) | |
download | syslinux-71d20885019564586d5f4d316af220cdae2900f5.tar.gz |
Makefile: replace -W -Wall with centralized $(GCCWARN)
Replace -W -Wall hardcoded into a bunch of Makefiles with $(GCCWARN),
a centralized variable defined in the root MCONFIG. Add
-Wstrict-prototypes to the list of global warnings: we should never
have non-prototyped declarations.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'MCONFIG.embedded')
-rw-r--r-- | MCONFIG.embedded | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MCONFIG.embedded b/MCONFIG.embedded index 586afc3e..37abe917 100644 --- a/MCONFIG.embedded +++ b/MCONFIG.embedded @@ -28,7 +28,7 @@ GCCOPT := $(call gcc_ok,-m32,) \ LIBGCC := $(shell $(CC) $(GCCOPT) --print-libgcc) LD += -m elf_i386 -CFLAGS = $(GCCOPT) -g -W -Wall -Wno-sign-compare $(OPTFLAGS) $(INCLUDES) +CFLAGS = $(GCCOPT) -g $(GCCWARN) -Wno-sign-compare $(OPTFLAGS) $(INCLUDES) SFLAGS = $(CFLAGS) -D__ASSEMBLY__ .SUFFIXES: .c .o .S .s .i .elf .com .bin .asm .lst .c32 .lss |