gcc with graphite: libppl.a needs libm

* workaround tested on ubuntu 13.04 x86_64 as a cross build.
This commit is contained in:
Jérôme Duval 2013-05-12 15:48:04 +02:00
parent a5171ea346
commit 9504a69542
2 changed files with 2 additions and 2 deletions

2
gcc/configure vendored
View File

@ -5701,7 +5701,7 @@ fi
LIBS="$saved_LIBS"
fi
ppllibs="$ppllibs -lppl_c -lppl $pwllib -lgmpxx"
ppllibs="$ppllibs -lppl_c -lppl $pwllib -lgmpxx -lm"
if test "$enable_ppl_version_check" != no; then
saved_CFLAGS="$CFLAGS"

View File

@ -1570,7 +1570,7 @@ if test "x$with_ppl" != xno; then
LIBS="$saved_LIBS"
fi
ppllibs="$ppllibs -lppl_c -lppl $pwllib -lgmpxx"
ppllibs="$ppllibs -lppl_c -lppl $pwllib -lgmpxx -lm"
if test "$enable_ppl_version_check" != no; then
saved_CFLAGS="$CFLAGS"