summaryrefslogtreecommitdiff
path: root/targets/buildtarget
diff options
context:
space:
mode:
authorWard Vandewege <ward@gnu.org>2008-02-07 21:50:22 +0000
committerWard Vandewege <ward@gnu.org>2008-02-07 21:50:22 +0000
commit2370fd81b4acafdbecce7327141f964e5122bb3c (patch)
treee23d3e667ca6c28df08a90661f6dce1513e56d9d /targets/buildtarget
parentb8c2aa2ce8fb74bd8bf3407e0a20240c7f41eadf (diff)
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
Diffstat (limited to 'targets/buildtarget')
-rwxr-xr-xtargets/buildtarget2
1 files changed, 1 insertions, 1 deletions
diff --git a/targets/buildtarget b/targets/buildtarget
index 22b73afbc2..86d0ee229d 100755
--- a/targets/buildtarget
+++ b/targets/buildtarget
@@ -61,7 +61,7 @@ if [ -z "$CC" ]; then
CC=gcc
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
EXTRA_CFLAGS=-fno-stack-protector