diff options
author | Joseph Myers <jsm@polyomino.org.uk> | 2008-07-18 13:38:14 +0000 |
---|---|---|
committer | Joseph Myers <jsm@polyomino.org.uk> | 2008-07-18 13:38:14 +0000 |
commit | 7eb850db4a4c01caa4c0469f339c7c61179a24ab (patch) | |
tree | 99ac55599c0ce883453fe82dcdf12a7366fdc12a | |
parent | 2e6efdff6dab775d10e823e9d4c0482d47981ddf (diff) | |
download | gdb-7eb850db4a4c01caa4c0469f339c7c61179a24ab.tar.gz |
* configure.ac: Put old value of $LIBS after -lbfd -liberty $intl
in BFD ELF check.
* configure: Regenerate.
-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 a02b93af593..a3a6931f677 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 e555e25d438..6151f69f13c 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 0a92812df36..ceba5c35bce 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> |