]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
kbuild: drop -Wundef from HOSTCFLAGS for now
authorSam Ravnborg <sam@mars.(none)>
Mon, 25 Jul 2005 12:40:34 +0000 (12:40 +0000)
committerSam Ravnborg <sam@mars.(none)>
Mon, 25 Jul 2005 12:40:34 +0000 (12:40 +0000)
-Wundef caused warnings in the bison generated code in kconfig.
Updating to a newer bison (1.875d) did not fix it. The alternatives
was to correct the autogenerated code or drop -Wundef.
For now -Wundef is dropped from HOSTCFLAGS.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---

Makefile

index 423397f03921326922628b006309283332d2bffe..77198748ad71b455838cc6b4ac443e679c049a3c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -203,7 +203,7 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
 
 HOSTCC         = gcc
 HOSTCXX        = g++
-HOSTCFLAGS     = -Wall -Wundef -Wstrict-prototypes -O2 -fomit-frame-pointer
+HOSTCFLAGS     = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
 HOSTCXXFLAGS   = -O2
 
 #      Decide whether to build built-in, modular, or both.