summaryrefslogtreecommitdiff
path: root/scripts/ext-toolchain.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ext-toolchain.sh')
-rwxr-xr-xscripts/ext-toolchain.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ext-toolchain.sh b/scripts/ext-toolchain.sh
index a34ef06..d1e163f 100755
--- a/scripts/ext-toolchain.sh
+++ b/scripts/ext-toolchain.sh
@@ -221,7 +221,7 @@ wrap_bin_ld() {
local bin="$2"
echo '#!/bin/sh' > "$out"
- echo -n 'exec "'"$bin"'" '"$CFLAGS"' ${STAGING_DIR:+' >> "$out"
+ echo -n 'exec "'"$bin"'" ${STAGING_DIR:+' >> "$out"
echo -n '-L "$STAGING_DIR/usr/lib" ' >> "$out"
echo '-rpath-link "$STAGING_DIR/usr/lib"} "$@"' >> "$out"