diff options
author | Nathan Chancellor <natechancellor@gmail.com> | 2019-05-09 13:48:25 +0200 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-05-18 04:49:53 +0200 |
commit | 7eb8e5f073051eebbf55fa6b90ed2246c2274552 (patch) | |
tree | 7bd343a913f75e617d1e1c657241ea1a52be6ae5 /Makefile | |
parent | kbuild: add some extra warning flags unconditionally (diff) | |
download | linux-7eb8e5f073051eebbf55fa6b90ed2246c2274552.tar.xz linux-7eb8e5f073051eebbf55fa6b90ed2246c2274552.zip |
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.
https://github.com/llvm/llvm-project/commit/cb3f812b6b9fab8f3b41414f24e90222170417b4
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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. |