path: root/Makefile
diff options
authorNathan Chancellor <>2019-05-09 04:48:25 -0700
committerMasahiro Yamada <>2019-05-18 11:49:53 +0900
commit7eb8e5f073051eebbf55fa6b90ed2246c2274552 (patch)
tree7bd343a913f75e617d1e1c657241ea1a52be6ae5 /Makefile
parent4c8dd95a723d9cccf8810be54aa62be82885c9d8 (diff)
kbuild: Don't try to add '-fcatch-undefined-behavior' flag
This is no longer a valid option in clang, it was removed in 3.5, which we don't support. Signed-off-by: Nathan Chancellor <> Reviewed-by: Nick Desaulniers <> Signed-off-by: Masahiro Yamada <>
Diffstat (limited to 'Makefile')
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a99c7a1836b5..8519a6c66702 100644
--- a/Makefile
+++ b/Makefile
@@ -740,7 +740,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)
# These warnings generated too much noise in a regular build.