mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 14:42:26 +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>
This commit is contained in:
parent
f30a7df9c9
commit
46d72f5450
@ -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