From 341c03f98826b100b0a2073329b5493c79a7f2cc Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Wed, 10 Apr 2013 23:22:40 +0200 Subject: [PATCH] GCC4 cross tools: a static libGMP requires linking with the host libstdc++ --- build/scripts/build_cross_tools_gcc4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/scripts/build_cross_tools_gcc4 b/build/scripts/build_cross_tools_gcc4 index 6eae4c87ea..86083d84ee 100755 --- a/build/scripts/build_cross_tools_gcc4 +++ b/build/scripts/build_cross_tools_gcc4 @@ -124,7 +124,8 @@ if [ "$HAIKU_USE_GCC_GRAPHITE" = 1 ]; then gccConfigureArgs="$gccConfigureArgs --with-cloog=$installDir \ --enable-cloog-backend=isl --with-ppl=$installDir \ - --disable-cloog-version-check --with-gmp=$installDir" + --disable-cloog-version-check --with-gmp=$installDir \ + --with-host-libstdcxx=\"-lstdc++ -lsupc++\"" fi # force the POSIX locale, as the build (makeinfo) might choke otherwise