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

Signed-off-by: Ronald G. Minnich <[email protected]>

Index: bin/lpgcc
===================================================================
--- bin/lpgcc   (revision 3945)
+++ bin/lpgcc   (working copy)
@@ -27,7 +27,16 @@
 ## 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
 else

--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to