From 643babfc3ca64d0fbb505cebbc1c1d92c270de1b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 1 May 2012 22:45:55 +0000 Subject: [PATCH] ext-toolchain.sh: don't pass CFLAGS when wrapping ld SVN-Revision: 31549 --- scripts/ext-toolchain.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ext-toolchain.sh b/scripts/ext-toolchain.sh index a34ef06773..d1e163fd68 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" -- 2.30.2