GCC4 cross tools: a static libGMP requires linking with the host libstdc++

This commit is contained in:
Jerome Duval 2013-04-10 23:22:40 +02:00
parent b76cec7d9c
commit 341c03f988

View File

@ -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