Revision 7cccccc33aa9ab7171ca05c0b59c62912509b23e authored by Hartmut Birr on 31 October 2007, 04:57:58 UTC, committed by Mauro Carvalho Chehab on 04 November 2007, 23:41:25 UTC
Fix reported signal strength value (higher value = higher signal strength).

Signed-off-by: Hartmut Birr <e9hack@googlemail.com>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
1 parent 3de0e18
Raw File
gcc-x86_64-has-stack-protector.sh
#!/bin/sh

echo "int foo(void) { char X[200]; return 3; }" | $1 -S -xc -c -O0 -mcmodel=kernel -fstack-protector - -o - 2> /dev/null | grep -q "%gs"
if [ "$?" -eq "0" ] ; then
	echo $2
fi
back to top