complibs/cloog: with static ppl, correctly link with libm 1.8
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Aug 06 00:00:26 2010 +0200 (2010-08-06)
branch1.8
changeset 2074a98794799cbf
parent 2073 a3b7a63dce01
child 2082 9a030e69fbde
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>
(transplanted from 5526fb72a893f89286d6daa29da0161ca988a1d0)
scripts/build/companion_libs/cloog.sh
     1.1 --- a/scripts/build/companion_libs/cloog.sh	Thu Aug 05 18:19:07 2010 +0200
     1.2 +++ b/scripts/build/companion_libs/cloog.sh	Fri Aug 06 00:00:26 2010 +0200
     1.3 @@ -56,7 +56,7 @@
     1.4          cloog_opts+=( --enable-shared --disable-static )
     1.5      else
     1.6          cloog_opts+=( --disable-shared --enable-static )
     1.7 -        cloog_LDFLAGS='-lstdc++'
     1.8 +        cloog_LDFLAGS='-lstdc++ -lm'
     1.9      fi
    1.10  
    1.11      CFLAGS="${CT_CFLAGS_FOR_HOST}"              \