aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2011-03-21 13:03:34 +0000
committerRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2011-03-21 13:03:34 +0000
commit0e8ad34f4dcf33bfc81bd85a8190756691aed9bc (patch)
treed8edde47ec9b1c9d0894163ec792b81e0a78e8bf /configure.ac
parent629bdbdaf47e37e27ae2206a5c0ff6771254b550 (diff)
downloadbinutils-0e8ad34f4dcf33bfc81bd85a8190756691aed9bc.zip
binutils-0e8ad34f4dcf33bfc81bd85a8190756691aed9bc.tar.gz
binutils-0e8ad34f4dcf33bfc81bd85a8190756691aed9bc.tar.bz2
PR bootstrap/48120:
* configure.ac (pwllib): Use LIBS instead of LDFLAGS. Add -lstdc++ -lm to LIBS. * configure: Regenerate.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 233ce0a..e036b5f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1677,10 +1677,10 @@ fi
if test "x$with_ppl" != xno; then
if test "x$pwllib" = x; then
- saved_LDFLAGS="$LDFLAGS"
- LDFLAGS="$LDFLAGS $ppllibs"
- AC_CHECK_LIB(pwl,PWL_handle_timeout,[pwllib="-lpwl"])
- LDFLAGS="$saved_LDFLAGS"
+ saved_LIBS="$LIBS"
+ LIBS="$LIBS $ppllibs -lstdc++ -lm"
+ AC_CHECK_LIB(pwl, PWL_handle_timeout, [pwllib="-lpwl"])
+ LIBS="$saved_LIBS"
fi
ppllibs="$ppllibs -lppl_c -lppl $pwllib -lgmpxx"