summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linaro.org>2016-11-28 13:24:42 +0800
committerAlex Shi <alex.shi@linaro.org>2016-11-28 13:24:42 +0800
commit3597171388a04229cd831e371b6e1079417d6d52 (patch)
tree9462f2e1ad6a4f8b72ba9b57e77c394785be08ee /scripts
parent068e31608ab2e664dce897343a3e5d43c4f023e3 (diff)
parentedf995d84e268ded42276ae0967a4b2c8541f08b (diff)
Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gcc-x86_64-has-stack-protector.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gcc-x86_64-has-stack-protector.sh b/scripts/gcc-x86_64-has-stack-protector.sh
index 973e8c141567..17867e723a51 100755
--- a/scripts/gcc-x86_64-has-stack-protector.sh
+++ b/scripts/gcc-x86_64-has-stack-protector.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-echo "int foo(void) { char X[200]; return 3; }" | $* -S -x c -c -O0 -mcmodel=kernel -fstack-protector - -o - 2> /dev/null | grep -q "%gs"
+echo "int foo(void) { char X[200]; return 3; }" | $* -S -x c -c -O0 -mcmodel=kernel -fno-PIE -fstack-protector - -o - 2> /dev/null | grep -q "%gs"
if [ "$?" -eq "0" ] ; then
echo y
else