summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2016-12-01 13:56:55 -0800
committerDmitry Shmidt <dimitrysh@google.com>2016-12-01 13:56:55 -0800
commitf225dbdca9127536b7296778b3b0cfd96f65df00 (patch)
tree33156ac8a3748523b5d724cc42ecf96112b16eeb /scripts
parentf9c1bf30186d62087e475dd56eaf830692f504e8 (diff)
parent0a5b451a53d4d181f22ab309403646792e0ddad2 (diff)
Merge tag 'v4.4.35' into android-4.4.y
This is the 4.4.35 stable release
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