# HG changeset patch # User "Yann E. MORIN" # Date 1281045626 -7200 # Node ID 5526fb72a893f89286d6daa29da0161ca988a1d0 # Parent bcd33fce4db9c18223b59ecdc96f10bf6dd574de 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" diff -r bcd33fce4db9 -r 5526fb72a893 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}" \