This is a safety measure, since the shipping buildrom fails badly at present.
Signed-off-by: Ronald G. Minnich <rminnich(a)gmail.com>
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