Blame view
scripts/gcc-x86_32-has-stack-protector.sh
173 Bytes
d7d243b52 SMARC-iMX8MQ Linu... |
1 2 3 4 |
#!/bin/sh # SPDX-License-Identifier: GPL-2.0 echo "int foo(void) { char X[200]; return 3; }" | $* -S -x c -c -m32 -O0 -fstack-protector - -o - 2> /dev/null | grep -q "%gs" |