Compile static versions of gcc libraries
commit7d6c79ed887e67ccb87f993150c1ca65dec390cc
authorJérôme Pouiller <jezz@sysmic.org>
Thu, 10 Oct 2013 09:40:42 +0000 (10 11:40 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 11 Jan 2014 16:19:17 +0000 (11 17:19 +0100)
treeb53fec8e126f936cfd8e33a105ce469dbe155c11
parent3ed7b4921e8f349e6b12d6e8f74c971f2d001f85
Compile static versions of gcc libraries

Since default configure options for host packages include
--disable-static, gcc was not configured to build static version of its
libraries (libgcc.a, libstdc++.a, ...).

This patch replace --disable-static by --enable-static in configure
command. Notice some options was removed sinces they was ignored by gcc
configure script.

Once it was compiled, this commit takes care to copy static libraries to
$STAGING

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Tested-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gcc/gcc-final/gcc-final.mk