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)
This commit is contained in:
Yann E. MORIN" 2010-08-06 00:00:26 +02:00
parent abfbd362b9
commit b3bd27a3dd

View File

@ -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}" \