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

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