summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 90a8b99d31..47a34f81be 100755
--- a/payloads/libpayload/bin/lpgcc
+++ b/payloads/libpayload/bin/lpgcc
@@ -164,7 +164,9 @@ if [ $DOLINK -eq 0 ]; then
$DEFAULT_CC $_CFLAGS $CMDLINE
else
- _LIBGCC=`$DEFAULT_CC $_ARCHEXTRA -print-libgcc-file-name`
+ if [ -z "${CONFIG_LP_ARCH_MIPS}" ]; then
+ _LIBGCC=`$DEFAULT_CC $_ARCHEXTRA -print-libgcc-file-name`
+ fi
if [ -f $_ARCHLIBDIR/head.o ]; then
HEAD_O=$_ARCHLIBDIR/head.o
elif [ -f $BASE/../build/head.o ]; then