diff options
author | Alex Shi <alex.shi@linaro.org> | 2017-01-03 10:57:22 +0800 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2017-01-03 10:57:22 +0800 |
commit | 1309669ab63b4c719d6c9203e2a3ed04b94e89fb (patch) | |
tree | c38cdc0c875b65f41aa8f5b0754a8f76efa73811 /scripts | |
parent | 3ed677b70db20d118e3bd829d79bb6dbb78ec449 (diff) | |
parent | 6a90545e6e920c480f5d05e4d5c0aa105e932bd1 (diff) |
Merge branch 'linux-linaro-lsk-v3.18' into linux-linaro-lsk-v3.18-android
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/gcc-x86_64-has-stack-protector.sh | 2 |
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 |