# HG changeset patch # User Bill Pringlemeir # Date 1290988221 -3600 # Node ID 2b5f5173daa0544deb94c1d8fa519d1431f43b78 # Parent 62b3f52315b3147a493968e229db4d16a48200d9 complibs/cloog: fix linking with libstdc++ This rules out 0.15.5 and previous versions, that did not have this option, so remove them from the list. Anyway, they were marked 'OBSOLETE', so it's not a big loss... [Yann E. MORIN: remove obsolete versions] Signed-off-by: "Yann E. MORIN" diff -r 62b3f52315b3 -r 2b5f5173daa0 config/companion_libs/cloog.in --- a/config/companion_libs/cloog.in Mon Nov 29 00:26:39 2010 +0100 +++ b/config/companion_libs/cloog.in Mon Nov 29 00:50:21 2010 +0100 @@ -26,21 +26,6 @@ bool prompt "0.15.6" -config CLOOG_V_0_15_5 - bool - prompt "0.15.5 (OBSOLETE)" - depends on OBSOLETE - -config CLOOG_V_0_15_4 - bool - prompt "0.15.4 (OBSOLETE)" - depends on OBSOLETE - -config CLOOG_V_0_15_3 - bool - prompt "0.15.3 (OBSOLETE)" - depends on OBSOLETE - endchoice config CLOOG_VERSION diff -r 62b3f52315b3 -r 2b5f5173daa0 scripts/build/companion_libs/cloog.sh --- a/scripts/build/companion_libs/cloog.sh Mon Nov 29 00:26:39 2010 +0100 +++ b/scripts/build/companion_libs/cloog.sh Mon Nov 29 00:50:21 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}" \