diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rwxr-xr-x | gdb/configure | 2 | ||||
-rw-r--r-- | gdb/configure.ac | 2 |
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> |