summaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-02-06 19:33:10 +0000
committerTom Tromey <tromey@redhat.com>2012-02-06 19:33:10 +0000
commit5579a92e63889f5113c9dbc321822e9f8ce8b8d7 (patch)
tree45953a372bd497ab3700cf6da3372f5c538f3d7a /gdb/configure.ac
parentf4b2f7c2ff88b1b765ae0388687494ba0d85a577 (diff)
downloadbinutils-gdb-5579a92e63889f5113c9dbc321822e9f8ce8b8d7.tar.gz
2012-02-06 Luca Pizzamiglio <luca.pizzamiglio@gmail.com>
* configure: Rebuild. * configure.ac: Put -L../bfd and -L../libiberty at the front of LDFLAGS.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index cf11605474e..36da4630811 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -1909,7 +1909,7 @@ OLD_CFLAGS=$CFLAGS
OLD_LDFLAGS=$LDFLAGS
OLD_LIBS=$LIBS
CFLAGS="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
-LDFLAGS="$LDFLAGS -L../bfd -L../libiberty"
+LDFLAGS="-L../bfd -L../libiberty $LDFLAGS"
intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
# -ldl is provided by bfd/Makfile.am (LIBDL) <PLUGINS>.
if test "$plugins" = "yes"; then