Skip to content

Commit

Permalink
kbuild: Don't try to add '-fcatch-undefined-behavior' flag
Browse files Browse the repository at this point in the history
This is no longer a valid option in clang, it was removed in 3.5, which
we don't support.

llvm/llvm-project@cb3f812

Signed-off-by: Nathan Chancellor <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
  • Loading branch information
nathanchance authored and masahir0y committed May 18, 2019
1 parent 4c8dd95 commit 7eb8e5f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
else

# These warnings generated too much noise in a regular build.
Expand Down

0 comments on commit 7eb8e5f

Please sign in to comment.