x86, build: Disable -fPIE when compiling with CONFIG_CC_STACKPROTECTOR=y
x86, build: Disable -fPIE when compiling with CONFIG_CC_STACKPROTECTOR=y

The arch/x86/Makefile uses scripts/gcc-x86_$(BITS)-has-stack-protector.sh
to check if cc1 supports -fstack-protector.  When -fPIE is passed to cc1,
these scripts fail causing stack protection to be disabled even when it
is available.

This fix is similar to commit c47efe5548abbf53c2f66e06dcb46183b11d6b22

Reported-by: Kai Dietrich <1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@cleeus.de>
Signed-off-by: Magnus Granberg <201f06b469a16c4c334f30d84664e1fa935d0559@gentoo.org>
LKML-Reference: <61e4b5e5fca3460e0f51e8337d0ba60b65d6a85e@opensource.dyc.edu>
Signed-off-by: Anthony G. Basile <e11bbaebd5e0efa08b433729e8f8e2e3f1a79fbd@opensource.dyc.edu>
Cc: Andrew Morton <5c1e68b099950c134891f0b6e179498a8ebe9cf9@linux-foundation.org>
Signed-off-by: H. Peter Anvin <8a453bad9912ffe59bc0f0b8abe03df9be19379e@linux.intel.com>

TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs