This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add -lpwl to ppllibs.
- From: Sebastian Pop <sebpop at gmail dot com>
- To: Richard Guenther <richard dot guenther at gmail dot com>
- Cc: Ralf Wildenhues <ralf dot wildenhues at gmx dot de>, GCC Patches <gcc-patches at gcc dot gnu dot org>, binutils at sourceware dot org, gdb-patches at sourceware dot org
- Date: Wed, 2 Mar 2011 08:48:19 -0600
- Subject: Re: [PATCH] Add -lpwl to ppllibs.
- References: <20110223193905.GD24784@gmx.de> <1298494027-24185-1-git-send-email-sebpop@gmail.com> <20110227063524.GD16255@gmx.de> <AANLkTimoE=0tCvV_ZhJ-Y3BDdFXSkKFTVXZMyic9--Ss@mail.gmail.com> <20110227093848.GA19328@gmx.de> <AANLkTin+a01komvJEzARXSLb189MHHTdOQ68RyQ+CeT+@mail.gmail.com> <AANLkTinejH5QfsL8ZVDLmmskBZQHWbonbSaVPAkA+=Lw@mail.gmail.com>
On Wed, Mar 2, 2011 at 06:20, Richard Guenther
<richard.guenther@gmail.com> wrote:
> As you can see from the link line it doesn't link ppl at all. ?ppllibs is empty
> for me.
>
> Please revert or fix ASAP.
Does the attached patch fix the problem you are seeing?
Thanks,
Sebastian
From 05223494274bc509fddf4f2546f50e4294c9537f Mon Sep 17 00:00:00 2001
From: Sebastian Pop <sebpop@gmail.com>
Date: Wed, 2 Mar 2011 08:47:36 -0600
Subject: [PATCH] Fix configure problem.
---
configure | 2 +-
configure.ac | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 997282f..5e97d0f 100755
--- a/configure
+++ b/configure
@@ -5723,7 +5723,7 @@ if test x"$with_ppl$with_ppl_include$with_ppl_lib" = x && test -d ${srcdir}/ppl;
with_ppl=yes
fi
-if test "x$with_ppl" = xyes; then
+if test "x$with_ppl" != xno; then
if test "x$pwllib" = x; then
saved_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS $ppllibs"
diff --git a/configure.ac b/configure.ac
index 4fb29c0..233ce0a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1675,7 +1675,7 @@ if test x"$with_ppl$with_ppl_include$with_ppl_lib" = x && test -d ${srcdir}/ppl;
with_ppl=yes
fi
-if test "x$with_ppl" = xyes; then
+if test "x$with_ppl" != xno; then
if test "x$pwllib" = x; then
saved_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS $ppllibs"
--
1.7.1