diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-09-10 16:51:19 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-09-24 18:36:50 +0300 |
commit | 7d4eb0d8e229fa51e14f0f85de03c02880e7d742 (patch) | |
tree | bc0aa721c513036c4bd72ea94542b491d70a0e91 /Makefile | |
parent | 8b42cf2fde0ee8b63d71d4bc442a03b6ea55b00b (diff) | |
download | linux-7d4eb0d8e229fa51e14f0f85de03c02880e7d742.tar.xz |
kbuild: remove cc-option test of -fno-stack-check
The minimal compiler version, GCC 4.9 supports this flag.
Nathan Chancellor pointed out:
"This flag is technically ignored by clang (see commit
05b0798916f01690b5903302e51f3136274e291f) but that obviously
does not matter for the sake of this."
Here is the godbolt:
https://godbolt.org/z/59cK6o
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -940,7 +940,7 @@ KBUILD_CFLAGS += $(call cc-option,-fno-merge-all-constants) KBUILD_CFLAGS += $(call cc-option,-fmerge-constants) # Make sure -fstack-check isn't enabled (like gentoo apparently did) -KBUILD_CFLAGS += $(call cc-option,-fno-stack-check,) +KBUILD_CFLAGS += -fno-stack-check # conserve stack if available KBUILD_CFLAGS += $(call cc-option,-fconserve-stack) |