diff options
author | Sam Ravnborg <sam@mars.(none)> | 2005-07-25 08:40:34 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@mars.(none)> | 2005-07-25 08:40:34 -0400 |
commit | 43af5f23354dbd67d2fd2d523eefad8053ac388b (patch) | |
tree | b9462262808ced29a000e041443e96a8e5f2aa7e /Makefile | |
parent | d178817803d95e4e3ca270bccd1ae2bed4780977 (diff) |
kbuild: drop -Wundef from HOSTCFLAGS for now
-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>
---
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -203,7 +203,7 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ | |||
203 | 203 | ||
204 | HOSTCC = gcc | 204 | HOSTCC = gcc |
205 | HOSTCXX = g++ | 205 | HOSTCXX = g++ |
206 | HOSTCFLAGS = -Wall -Wundef -Wstrict-prototypes -O2 -fomit-frame-pointer | 206 | HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer |
207 | HOSTCXXFLAGS = -O2 | 207 | HOSTCXXFLAGS = -O2 |
208 | 208 | ||
209 | # Decide whether to build built-in, modular, or both. | 209 | # Decide whether to build built-in, modular, or both. |