diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 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 -Wstrict-prototypes -O2 -fomit-frame-pointer | 206 | HOSTCFLAGS = -Wall -Wundef -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. |
@@ -348,7 +348,7 @@ LINUXINCLUDE := -Iinclude \ | |||
348 | 348 | ||
349 | CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE) | 349 | CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE) |
350 | 350 | ||
351 | CFLAGS := -Wall -Wstrict-prototypes -Wno-trigraphs \ | 351 | CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ |
352 | -fno-strict-aliasing -fno-common \ | 352 | -fno-strict-aliasing -fno-common \ |
353 | -ffreestanding | 353 | -ffreestanding |
354 | AFLAGS := -D__ASSEMBLY__ | 354 | AFLAGS := -D__ASSEMBLY__ |