projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a2c16d
)
[scripts] ext-toolchain.sh: don't pass CFLAGS when wrapping ld
author
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 1 May 2012 22:45:55 +0000
(22:45 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 1 May 2012 22:45:55 +0000
(22:45 +0000)
SVN-Revision: 31549
scripts/ext-toolchain.sh
patch
|
blob
|
history
diff --git
a/scripts/ext-toolchain.sh
b/scripts/ext-toolchain.sh
index a34ef0677335cc9e5a3bd52e011444fff9754292..d1e163fd68973032ccd1e9b3e4e7ed95bdf0dbab 100755
(executable)
--- a/
scripts/ext-toolchain.sh
+++ b/
scripts/ext-toolchain.sh
@@
-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"