diff options
| author | Alex Shi <alex.shi@linaro.org> | 2016-11-28 13:24:42 +0800 |
|---|---|---|
| committer | Alex Shi <alex.shi@linaro.org> | 2016-11-28 13:24:42 +0800 |
| commit | 3597171388a04229cd831e371b6e1079417d6d52 (patch) | |
| tree | 9462f2e1ad6a4f8b72ba9b57e77c394785be08ee /scripts | |
| parent | 068e31608ab2e664dce897343a3e5d43c4f023e3 (diff) | |
| parent | edf995d84e268ded42276ae0967a4b2c8541f08b (diff) | |
Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-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 |
