summaryrefslogtreecommitdiff
path: root/payloads/libpayload/bin
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/bin')
-rwxr-xr-xpayloads/libpayload/bin/lpgcc6
1 files changed, 2 insertions, 4 deletions
diff --git a/payloads/libpayload/bin/lpgcc b/payloads/libpayload/bin/lpgcc
index 80c22666b7..8ee0dcfbb9 100755
--- a/payloads/libpayload/bin/lpgcc
+++ b/payloads/libpayload/bin/lpgcc
@@ -58,10 +58,8 @@ BASE=`dirname $0`
_LDSCRIPT="-Wl,-T,$_LIBDIR/libpayload.ldscript"
trygccoption() {
- $DEFAULT_CC $1 -S -xc /dev/null -o .$$.tmp &> /dev/null
- RET=$?
- rm -f .$$.tmp
- return $RET
+ $DEFAULT_CC $1 -S -xc /dev/null -o /dev/null &> /dev/null
+ return $?
}
DEBUGME=0