From 46d72f5450f0d09d7aee73abeb5bd0006ef41641 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Fri, 6 Aug 2010 00:00:26 +0200 Subject: [PATCH] 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" --- scripts/build/companion_libs/cloog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/companion_libs/cloog.sh b/scripts/build/companion_libs/cloog.sh index 73844ef5..d1219eae 100644 --- a/scripts/build/companion_libs/cloog.sh +++ b/scripts/build/companion_libs/cloog.sh @@ -56,7 +56,7 @@ do_cloog() { 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}" \