Add -Wundef warning flag

This commit is contained in:
Paul A. Patience
2015-09-01 12:02:36 -04:00
parent 34cb87bfd0
commit 81268bb75c
299 changed files with 841 additions and 841 deletions
+2 -2
View File
@@ -127,7 +127,7 @@ ifeq ($(CONFIG_WINDOWS_NATIVE),y)
# HOSTCC = mingw32-gcc.exe
HOSTCC = x86_64-w64-mingw32-gcc.exe
HOSTINCLUDES = -I.
HOSTCFLAGS = -Wall -Wstrict-prototypes -Wshadow -g -pipe
HOSTCFLAGS = -Wall -Wstrict-prototypes -Wshadow -Wundef -g -pipe
HOSTLDFLAGS =
HOSTEXEEXT = .exe
@@ -150,7 +150,7 @@ else
HOSTCC = gcc
HOSTINCLUDES = -I.
HOSTCFLAGS = -Wall -Wstrict-prototypes -Wshadow -g -pipe
HOSTCFLAGS = -Wall -Wstrict-prototypes -Wshadow -Wundef -g -pipe
HOSTLDFLAGS =
# This is the tool to use for dependencies (i.e., none)