diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2017-03-03 17:39:19 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-03-03 17:39:18 -0800 |
| commit | 048676be41c7fda168019897cf2036f9520b981a (patch) | |
| tree | 426f3febb9ce49e0cf95e6aa724569fb0d2770ae /scripts | |
| parent | c0e191cd70252ee742b5dbb49471719a2267f73a (diff) | |
| parent | 4b7c952db6109d1c695bfa3c70b0a32d9f485656 (diff) | |
Merge "Merge tag 'lsk-v4.4-16.12-android' into branch 'msm-4.4'"
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 |
