diff -r ab0759ba292c -r 8bcae97e8fd5 scripts/build/companion_libs/cloog.sh --- a/scripts/build/companion_libs/cloog.sh Mon Oct 18 16:51:01 2010 +0200 +++ b/scripts/build/companion_libs/cloog.sh Wed Dec 22 22:42:28 2010 +0100 @@ -55,7 +55,8 @@ cloog_opts+=( --enable-shared --disable-static ) else cloog_opts+=( --disable-shared --enable-static ) - cloog_LDFLAGS='-lstdc++ -lm' + cloog_opts+=( --with-host-libstdcxx='-lstdc++' ) + cloog_LDFLAGS='-lm' fi CFLAGS="${CT_CFLAGS_FOR_HOST}" \