summaryrefslogtreecommitdiffstats
path: root/package/gcc
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2015-12-01 23:22:51 +0100
committerPeter Korsgaard <peter@korsgaard.com>2015-12-01 23:24:07 +0100
commitcc257ee493bbf3261417908684dbff834d853ae6 (patch)
treecca896590d214d7bc90aad71fb8a76465438242b /package/gcc
parent2723fa4a5066b8820b4ff03e2912ccea9ea7c5e0 (diff)
parent01e3d2eff15eb2535c4c15eb4f62467a50fe6a5f (diff)
downloadbuildroot-cc257ee493bbf3261417908684dbff834d853ae6.tar.gz
buildroot-cc257ee493bbf3261417908684dbff834d853ae6.zip
Merge branch 'next'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/gcc')
-rw-r--r--package/gcc/gcc-final/gcc-final.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/gcc/gcc-final/gcc-final.mk b/package/gcc/gcc-final/gcc-final.mk
index 7802855f89..dbdb6158e1 100644
--- a/package/gcc/gcc-final/gcc-final.mk
+++ b/package/gcc/gcc-final/gcc-final.mk
@@ -27,6 +27,15 @@ HOST_GCC_FINAL_SUBDIR = build
HOST_GCC_FINAL_PRE_CONFIGURE_HOOKS += HOST_GCC_CONFIGURE_SYMLINK
+# We want to always build the static variants of all the gcc libraries,
+# of which libstdc++, libgomp, libmudflap...
+# To do so, we can not just pass --enable-static to override the generic
+# --disable-static flag, otherwise gcc fails to build some of those
+# libraries, see;
+# http://lists.busybox.net/pipermail/buildroot/2013-October/080412.html
+#
+# So we must completely override the generic commands and provide our own.
+#
define HOST_GCC_FINAL_CONFIGURE_CMDS
(cd $(HOST_GCC_FINAL_SRCDIR) && rm -rf config.cache; \
$(HOST_CONFIGURE_OPTS) \
OpenPOWER on IntegriCloud