buildgcc: redirect error output to /dev/null

Change-Id: I7cd63248eb8abb711cecce41e3f8a282b34aa126
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: http://review.coreboot.org/1548
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
Zheng Bao 2012-10-23 19:41:25 +08:00 committed by Patrick Georgi
parent 908b043da0
commit 04ceed6a0f
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ if [ `uname` = "Darwin" ]; then
# binaries in 10.6 (even if the kernel is 32bit) # binaries in 10.6 (even if the kernel is 32bit)
# For some weird reason, 10.5 autodetects an ABI=64 though # For some weird reason, 10.5 autodetects an ABI=64 though
# so we're setting the ABI explicitly here. # so we're setting the ABI explicitly here.
if [ `sysctl -n hw.optional.x86_64` -eq 1 ]; then if [ `sysctl -n hw.optional.x86_64 2>/dev/null` -eq 1 ] 2>/dev/null; then
OPTIONS="ABI=64" OPTIONS="ABI=64"
else else
OPTIONS="ABI=32" OPTIONS="ABI=32"