|
@@ -347,6 +347,7 @@ KBUILD_CPPFLAGS := -D__KERNEL__
|
|
KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
|
|
KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
|
|
-fno-strict-aliasing -fno-common \
|
|
-fno-strict-aliasing -fno-common \
|
|
-Werror-implicit-function-declaration
|
|
-Werror-implicit-function-declaration
|
|
|
|
+KBUILD_CFLAGS += $(call cc-option,-fwrapv)
|
|
KBUILD_AFLAGS := -D__ASSEMBLY__
|
|
KBUILD_AFLAGS := -D__ASSEMBLY__
|
|
|
|
|
|
# Read KERNELRELEASE from include/config/kernel.release (if it exists)
|
|
# Read KERNELRELEASE from include/config/kernel.release (if it exists)
|