ext-toolchain.sh: rework generated gcc wrapper Only append -L and -Wl,-rpath-link...
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 29 Jan 2012 18:53:12 +0000 (18:53 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 29 Jan 2012 18:53:12 +0000 (18:53 +0000)
commitc21b5cc34ab2b8f28b914ed9318b4f6f046a5b7b
tree62994113a33f0c5aa34c619f9f3ae741a9955821
parentd5cf09642c9ecb23029627707ff908d2fce70eea
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.

SVN-Revision: 29946
scripts/ext-toolchain.sh