aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/trylink6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/trylink b/scripts/trylink
index 3ac249c73..1cd50c6ed 100755
--- a/scripts/trylink
+++ b/scripts/trylink
@@ -6,7 +6,7 @@ try() {
6 added="$1" 6 added="$1"
7 shift 7 shift
8 $debug && echo "Trying: $* $added" 8 $debug && echo "Trying: $* $added"
9 "$@" $added >/dev/null 2>&1 \ 9 "$@" $added >busybox.map 2>busybox_ld.err \
10 && exit 0 10 && exit 0
11} 11}
12 12
@@ -14,5 +14,5 @@ try "" "$@"
14try "-lm" "$@" 14try "-lm" "$@"
15try "-lcrypt" "$@" 15try "-lcrypt" "$@"
16try "-Wl,--start-group -lcrypt -lm -Wl,--end-group" "$@" 16try "-Wl,--start-group -lcrypt -lm -Wl,--end-group" "$@"
17# It failed. Rerun & let people see the error messages 17# It failed. Let people see the error messages
18"$@" $added 18cat busybox_ld.err