aboutsummaryrefslogtreecommitdiff
path: root/scripts/trylink
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2020-05-29 10:49:00 +0100
committerRon Yorston <rmy@pobox.com>2020-05-29 11:03:33 +0100
commit53c09d0e1720bd927a2995f87df324a9854f1771 (patch)
tree982b357d9d188cfb6a1d488ebaba6c42d818209f /scripts/trylink
parentd4247a9f03290a96433e18dba538404005a21311 (diff)
parent45fa3f18adf57ef9d743038743d9c90573aeeb91 (diff)
downloadbusybox-w32-53c09d0e1720bd927a2995f87df324a9854f1771.tar.gz
busybox-w32-53c09d0e1720bd927a2995f87df324a9854f1771.tar.bz2
busybox-w32-53c09d0e1720bd927a2995f87df324a9854f1771.zip
Merge branch 'busybox' into mergeFRP-3466-g53c09d0e1
Diffstat (limited to 'scripts/trylink')
-rwxr-xr-xscripts/trylink3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/trylink b/scripts/trylink
index bb6b2de2f..6b74f092d 100755
--- a/scripts/trylink
+++ b/scripts/trylink
@@ -50,9 +50,6 @@ check_cc() {
50 echo "int main(int argc,char**argv){return argv?argc:0;}" >"$tempname".c 50 echo "int main(int argc,char**argv){return argv?argc:0;}" >"$tempname".c
51 # Can use "-o /dev/null", but older gcc tend to *unlink it* on failure! :( 51 # Can use "-o /dev/null", but older gcc tend to *unlink it* on failure! :(
52 # Was using "-xc /dev/null", but we need a valid C program. 52 # Was using "-xc /dev/null", but we need a valid C program.
53 # "eval" may be needed if CFLAGS can contain
54 # '... -D"BB_VER=KBUILD_STR(1.N.M)" ...'
55 # and we need shell to process quotes!
56 $CC $CFLAGS $LDFLAGS $1 "$tempname".c -o "$tempname" >/dev/null 2>&1 53 $CC $CFLAGS $LDFLAGS $1 "$tempname".c -o "$tempname" >/dev/null 2>&1
57 exitcode=$? 54 exitcode=$?
58 rm -f "$tempname" "$tempname".c "$tempname".o 55 rm -f "$tempname" "$tempname".c "$tempname".o