summaryrefslogtreecommitdiff
path: root/payloads/libpayload/bin/lpgcc
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2011-02-14 19:24:37 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2011-02-14 19:24:37 +0000
commita4a022c9418096ae7f6e8074dcd917ff68294e8e (patch)
tree4f4c7dc0a93ab5b54b529115692bdee702de5200 /payloads/libpayload/bin/lpgcc
parent6b5ca4efb9273f91d839383b1cb59f6747e02f3d (diff)
lpgcc was too noisy in some cases
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6357 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/bin/lpgcc')
-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