Author: rminnich Date: 2009-02-16 00:32:57 +0100 (Mon, 16 Feb 2009) New Revision: 3950
Modified: trunk/payloads/libpayload/bin/lpgcc Log: 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
Modified: trunk/payloads/libpayload/bin/lpgcc =================================================================== --- trunk/payloads/libpayload/bin/lpgcc 2009-02-15 02:53:18 UTC (rev 3949) +++ trunk/payloads/libpayload/bin/lpgcc 2009-02-15 23:32:57 UTC (rev 3950) @@ -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