ext-toolchain.sh: don't pass CFLAGS when wrapping ld
SVN-Revision: 31549
This commit is contained in:
parent
7a2b3d8a55
commit
643babfc3c
@ -221,7 +221,7 @@ wrap_bin_ld() {
|
|||||||
local bin="$2"
|
local bin="$2"
|
||||||
|
|
||||||
echo '#!/bin/sh' > "$out"
|
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 -n '-L "$STAGING_DIR/usr/lib" ' >> "$out"
|
||||||
echo '-rpath-link "$STAGING_DIR/usr/lib"} "$@"' >> "$out"
|
echo '-rpath-link "$STAGING_DIR/usr/lib"} "$@"' >> "$out"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user