OSDN Git Service

kbuild: Don't try to add '-fcatch-undefined-behavior' flag
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / Makefile
index 6cf6d76..7868df6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -747,7 +747,6 @@ KBUILD_CFLAGS += $(call cc-disable-warning, tautological-compare)
 # source of a reference will be _MergedGlobals and not on of the whitelisted names.
 # See modpost pattern 2
 KBUILD_CFLAGS += $(call cc-option, -mno-global-merge,)
-KBUILD_CFLAGS += $(call cc-option, -fcatch-undefined-behavior)
 else
 
 # These warnings generated too much noise in a regular build.