mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-06-11 05:57:27 -04:00
ext-toolchain.sh: don't pass CFLAGS when wrapping ld
SVN-Revision: 31549
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user