Skip to content
Snippets Groups Projects
Commit 643babfc authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

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

SVN-Revision: 31549
parent 7a2b3d8a
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment