aboutsummaryrefslogtreecommitdiff
path: root/scripts/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/make.sh')
-rwxr-xr-xscripts/make.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/make.sh b/scripts/make.sh
index 66fdad3b..42143f8e 100755
--- a/scripts/make.sh
+++ b/scripts/make.sh
@@ -180,7 +180,7 @@ do_loudly()
BUILD="${CROSS_COMPILE}${CC} $CFLAGS -I . $OPTIMIZE"
FILES="$(ls lib/*.c) main.c $TOYFILES"
-LINK="-o toybox_unstripped -Wl,--as-needed $(cat generated/optlibs.dat)"
+LINK="$LDOPTIMIZE -o toybox_unstripped -Wl,--as-needed $(cat generated/optlibs.dat)"
# This is a parallel version of: do_loudly $BUILD $FILES $LINK || exit 1