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 /scripts/build/companion_libs | |
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>
Diffstat (limited to 'scripts/build/companion_libs')
-rw-r--r-- | scripts/build/companion_libs/cloog.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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}" \ |