ext-toolchain.sh: don't pass CFLAGS when wrapping ld

SVN-Revision: 31549
owl
Jo-Philipp Wich 2012-05-01 22:45:55 +00:00
parent 7a2b3d8a55
commit 643babfc3c
1 changed files with 1 additions and 1 deletions

View File

@ -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"