diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -297,7 +297,7 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ | |||
297 | 297 | ||
298 | HOSTCC = gcc | 298 | HOSTCC = gcc |
299 | HOSTCXX = g++ | 299 | HOSTCXX = g++ |
300 | HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer | 300 | HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 |
301 | HOSTCXXFLAGS = -O2 | 301 | HOSTCXXFLAGS = -O2 |
302 | 302 | ||
303 | ifeq ($(shell $(HOSTCC) -v 2>&1 | grep -c "clang version"), 1) | 303 | ifeq ($(shell $(HOSTCC) -v 2>&1 | grep -c "clang version"), 1) |
@@ -401,7 +401,8 @@ KBUILD_CPPFLAGS := -D__KERNEL__ | |||
401 | KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ | 401 | KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ |
402 | -fno-strict-aliasing -fno-common \ | 402 | -fno-strict-aliasing -fno-common \ |
403 | -Werror-implicit-function-declaration \ | 403 | -Werror-implicit-function-declaration \ |
404 | -Wno-format-security | 404 | -Wno-format-security \ |
405 | -std=gnu89 | ||
405 | 406 | ||
406 | KBUILD_AFLAGS_KERNEL := | 407 | KBUILD_AFLAGS_KERNEL := |
407 | KBUILD_CFLAGS_KERNEL := | 408 | KBUILD_CFLAGS_KERNEL := |