mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 04:47:52 +00:00
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:
parent
abfbd362b9
commit
b3bd27a3dd
@ -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}" \
|
||||
|
Loading…
Reference in New Issue
Block a user