=?UTF-8?Q?[PATCH_1_of_1]_complibs/cloog:_with_static_ppl,=D=A=9correctly_link_with_libm?=
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Thu Aug 5 22:19:00 GMT 2010
# HG changeset patch
# User "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
# Date 1281045626 -7200
# Node ID 888d0136549c64a323e4898e7a561d3f7bf0a21f
# Parent f5ebe8c429dc73f1eba8b222e7b28d582ee20f5a
complibs/cloog: with static ppl, correctly link with libm
On some Fedora boxen (at least FC13), it is also required
to link with libm when static ppl is used.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
diff --git a/scripts/build/companion_libs/cloog.sh b/scripts/build/companion_libs/cloog.sh
--- a/scripts/build/companion_libs/cloog.sh
+++ b/scripts/build/companion_libs/cloog.sh
@@ -56,7 +56,7 @@
cloog_opts+=( --enable-shared --disable-static )
else
cloog_opts+=( --disable-shared --enable-static )
- cloog_LDFLAGS='-lstdc++'
+ cloog_LDFLAGS='-lstdc++ -lm'
fi
CFLAGS="${CT_CFLAGS_FOR_HOST}" \
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list