mirror of
https://github.com/torvalds/linux
synced 2024-10-16 00:10:42 +00:00
Makefile: fix extra parenthesis typo when CC_STACKPROTECTOR_REGULAR is enabled
An extra parenthesis typo introduced in 19952a9203
("stackprotector:
Unify the HAVE_CC_STACKPROTECTOR logic between architectures") is
causing the following error when CONFIG_CC_STACKPROTECTOR_REGULAR is
enabled:
Makefile:608: Cannot use CONFIG_CC_STACKPROTECTOR: -fstack-protector not supported by compiler
Makefile:608: *** missing separator. Stop.
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
f3713fd9cf
commit
27b2a49a14
2
Makefile
2
Makefile
|
@ -606,7 +606,7 @@ ifdef CONFIG_CC_STACKPROTECTOR_REGULAR
|
||||||
stackp-flag := -fstack-protector
|
stackp-flag := -fstack-protector
|
||||||
ifeq ($(call cc-option, $(stackp-flag)),)
|
ifeq ($(call cc-option, $(stackp-flag)),)
|
||||||
$(warning Cannot use CONFIG_CC_STACKPROTECTOR: \
|
$(warning Cannot use CONFIG_CC_STACKPROTECTOR: \
|
||||||
-fstack-protector not supported by compiler))
|
-fstack-protector not supported by compiler)
|
||||||
endif
|
endif
|
||||||
else ifdef CONFIG_CC_STACKPROTECTOR_STRONG
|
else ifdef CONFIG_CC_STACKPROTECTOR_STRONG
|
||||||
stackp-flag := -fstack-protector-strong
|
stackp-flag := -fstack-protector-strong
|
||||||
|
|
Loading…
Reference in a new issue