gcc-final: disable shared build for static
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Sun, 25 May 2014 22:12:57 +0000 (19:12 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 30 Jul 2014 18:25:10 +0000 (20:25 +0200)
commit169141a3eb0dc009a49895ebdc255bfc869ed5af
tree7a551c44038f731a936c19b4f0a15624332589fc
parent82cf4f00ac11fb08eff0f39a6c264d75f4ea0817
gcc-final: disable shared build for static

Disable shared build for host-gcc-final when building for static targets.
We really want static or shared, there's no such thing as "preferring static"
since we can't choose with any degree of granularity for which packages.
And it confuses linking scripts having both available at the same time. Fixes:
http://autobuild.buildroot.net/results/c54/c54bdf88eff6d60c7001cb0e2cb6792cc75178db/

[Thomas: slightly amend the commit to factorize the installation of
static libraries.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gcc/gcc-final/gcc-final.mk