aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2008-07-18 13:38:14 +0000
committerJoseph Myers <joseph@codesourcery.com>2008-07-18 13:38:14 +0000
commit0f72fb1c9b6639ae27befa67438ae98f15793525 (patch)
tree4162a15337fd5a333fc855d8d6892d5773376116 /gdb
parent6cee0a6ffcf99f63bcb8bcab956f8e16ac2a343a (diff)
downloadgdb-0f72fb1c9b6639ae27befa67438ae98f15793525.zip
gdb-0f72fb1c9b6639ae27befa67438ae98f15793525.tar.gz
gdb-0f72fb1c9b6639ae27befa67438ae98f15793525.tar.bz2
* configure.ac: Put old value of $LIBS after -lbfd -liberty $intl
in BFD ELF check. * configure: Regenerate.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rwxr-xr-xgdb/configure2
-rw-r--r--gdb/configure.ac2
3 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a02b93a..a3a6931 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2008-07-18 Joseph Myers <joseph@codesourcery.com>
+
+ * configure.ac: Put old value of $LIBS after -lbfd -liberty $intl
+ in BFD ELF check.
+ * configure: Regenerate.
+
2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
* auxv.c (fprint_target_auxv): Stop at AT_NULL.
diff --git a/gdb/configure b/gdb/configure
index e555e25..6151f69 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -24094,7 +24094,7 @@ OLD_LIBS=$LIBS
CFLAGS="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
LDFLAGS="$LDFLAGS -L../bfd -L../libiberty"
intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
-LIBS="$LIBS -lbfd -liberty $intl"
+LIBS="-lbfd -liberty $intl $LIBS"
echo "$as_me:$LINENO: checking for ELF support in BFD" >&5
echo $ECHO_N "checking for ELF support in BFD... $ECHO_C" >&6
if test "${gdb_cv_var_elf+set}" = set; then
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 0a92812..ceba5c3 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -1458,7 +1458,7 @@ OLD_LIBS=$LIBS
CFLAGS="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
LDFLAGS="$LDFLAGS -L../bfd -L../libiberty"
intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
-LIBS="$LIBS -lbfd -liberty $intl"
+LIBS="-lbfd -liberty $intl $LIBS"
AC_CACHE_CHECK([for ELF support in BFD], gdb_cv_var_elf,
[AC_TRY_LINK(
[#include <stdlib.h>