summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
Diffstat (limited to 'payloads')
-rwxr-xr-xpayloads/libpayload/bin/lpgcc4
1 files changed, 3 insertions, 1 deletions
diff --git a/payloads/libpayload/bin/lpgcc b/payloads/libpayload/bin/lpgcc
index 826e498941..57015d5f49 100755
--- a/payloads/libpayload/bin/lpgcc
+++ b/payloads/libpayload/bin/lpgcc
@@ -30,12 +30,14 @@
# 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.
-echo "CC = $CC"
+# echo "CC = $CC"
+if [ -n "$CC" ]; then
b=`basename $CC`
if [ "$b" = "lpgcc" ]; then
CC=""
fi
+fi