mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
[scripts] ext-toolchain.sh: don't pass CFLAGS when wrapping ld
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31549 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8bf403c6f9
commit
05e668d206
@ -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"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user