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:
Ward Vandewege 2008-02-07 21:50:22 +00:00
parent b8c2aa2ce8
commit 2370fd81b4
1 changed files with 1 additions and 1 deletions

View File

@ -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