diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-11-28 23:50:21 (GMT) |
---|---|---|
committer | Bill Pringlemeir <bpringle@sympatico.ca> | 2010-11-28 23:50:21 (GMT) |
commit | 63750f8841740fec049bb93d969da9312bfed141 (patch) | |
tree | 4e3af0581dfebe99d934c38edf7b86cbc5bbc806 | |
parent | 28c5ee8baf8383a991199dc0a2d9734fccd14aba (diff) |
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" <yann.morin.1998@anciens.enib.fr>
-rw-r--r-- | config/companion_libs/cloog.in | 15 | ||||
-rw-r--r-- | scripts/build/companion_libs/cloog.sh | 3 |
2 files changed, 2 insertions, 16 deletions
diff --git a/config/companion_libs/cloog.in b/config/companion_libs/cloog.in index df29853..6282997 100644 --- a/config/companion_libs/cloog.in +++ b/config/companion_libs/cloog.in @@ -26,21 +26,6 @@ config CLOOG_V_0_15_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 --git a/scripts/build/companion_libs/cloog.sh b/scripts/build/companion_libs/cloog.sh index 34c72c1..a535dc0 100644 --- a/scripts/build/companion_libs/cloog.sh +++ b/scripts/build/companion_libs/cloog.sh @@ -55,7 +55,8 @@ do_cloog() { 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}" \ |