Make the check for -fno-stack-protector fail silently, if it fails.
This is a trivial patch. Signed-off-by: Ward Vandewege <ward@gnu.org> Acked-by: Ward Vandewege <ward@gnu.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3094 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
b8c2aa2ce8
commit
2370fd81b4
|
@ -61,7 +61,7 @@ if [ -z "$CC" ]; then
|
||||||
CC=gcc
|
CC=gcc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$CC -fno-stack-protector -S -xc /dev/null -o .$$.tmp
|
$CC -fno-stack-protector -S -xc /dev/null -o .$$.tmp 2>/dev/null
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
EXTRA_CFLAGS=-fno-stack-protector
|
EXTRA_CFLAGS=-fno-stack-protector
|
||||||
|
|
Loading…
Reference in New Issue