ARM: 8945/1: decompressor: use CONFIG option instead of cc-option
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 4 Dec 2019 04:28:12 +0000 (05:28 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Sat, 25 Jan 2020 18:18:04 +0000 (18:18 +0000)
commit9db78852739e9f4335d1f2350c01a6b5e2998507
treeaa344aaadab7f2073737966ef7614868d7bbbd76
parentcf17a1e3aa1ad33d375d71a1c30356b86b2683ef
ARM: 8945/1: decompressor: use CONFIG option instead of cc-option

The Kconfig stage (arch/Kconfig) has already evaluated whether the
compiler supports -fno-stack-protector.

You can use CONFIG_CC_HAS_STACKPROTECTOR_NONE instead of invoking
the compiler to check the flag here.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/boot/compressed/Makefile