# HG changeset patch # User "Yann E. MORIN" # Date 1281045626 -7200 # Node ID a98794799cbf84900904a68c6dfcfdfa391539f0 # Parent a3b7a63dce01e1c4149c7cfce2b257513078299c 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" (transplanted from 5526fb72a893f89286d6daa29da0161ca988a1d0) diff -r a3b7a63dce01 -r a98794799cbf scripts/build/companion_libs/cloog.sh --- a/scripts/build/companion_libs/cloog.sh Thu Aug 05 18:19:07 2010 +0200 +++ b/scripts/build/companion_libs/cloog.sh Fri Aug 06 00:00:26 2010 +0200 @@ -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}" \