[scripts] ext-toolchain.sh: rework generated gcc wrapper
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 29 Jan 2012 18:53:12 +0000 (18:53 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 29 Jan 2012 18:53:12 +0000 (18:53 +0000)
commit5a89e8c08e58eb7905b29730f752ed39cffa2b91
tree33ca7603c967be1f7a7995648c4bea4e6a039d5f
parente23aeca7d2e1bf518e4cf5a4e044acaa1cf10e44
[scripts] ext-toolchain.sh: rework generated gcc wrapper
Only append -L and -Wl,-rpath-link flags if the command line contains -l, -L, -shared or -static flags;
this is needed to suppress "-rpath-link: linker input file unused because linking not done" on each cc invocation.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29946 3c298f89-4303-0410-b956-a3cf2f4a3e73
scripts/ext-toolchain.sh
This page took 0.02667 seconds and 4 git commands to generate.