This is a safety measure, since the shipping buildrom fails badly at present.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>

Acked-by: Peter Stuge <peter@stuge.se>




git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3950 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Ronald G. Minnich 2009-02-15 23:32:57 +00:00
parent 5389c7f72b
commit b575d67b9a

View file

@ -27,6 +27,15 @@
## SUCH DAMAGE.
# GCC wrapper for libpayload
# let's not recurse.
# This is a hack, I know, but it makes sure that really simple user errors
# don't fork-bomb your machine.
b=`basename $CC`
if [ "$b" = "lpgcc" ]; then
CC=""
fi
if [ "$CC" != "" ]; then
DEFAULT_CC=$CC