diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-04-09 04:43:57 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-04-09 04:43:57 -0700 |
commit | 5a2d4533e2b9cc9c069d47071013cb30f1e0fc7e (patch) | |
tree | a23f8007dd71ed4d311d44979e8cf4f683d7e52a /gdb/configure | |
parent | 421693b020bf6e306c6c795541d0bd9dad0db1f1 (diff) | |
download | binutils-gdb-5a2d4533e2b9cc9c069d47071013cb30f1e0fc7e.tar.gz |
Replace $zlibdir with $ZLIBDIR in LDFLAGS
* acinclude.m4: (GDB_AC_CHECK_BFD): Set ZLIBDIR with $zlibdir.
Replace $zlibdir with $ZLIBDIR in LDFLAGS.
* configure: Regenerated.
Diffstat (limited to 'gdb/configure')
-rwxr-xr-x | gdb/configure | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/configure b/gdb/configure index f83515751e8..2baf6dd6ad3 100755 --- a/gdb/configure +++ b/gdb/configure @@ -13526,7 +13526,8 @@ esac # points somewhere with bfd, with -I/foo/lib and -L/foo/lib. We # always want our bfd. CFLAGS="-I${srcdir}/../include -I../bfd -I${srcdir}/../bfd $CFLAGS" - LDFLAGS="-L../bfd -L../libiberty $zlibdir $LDFLAGS" + ZLIBDIR=`echo $zlibdir | sed 's,\$(top_builddir)/,,g'` + LDFLAGS="-L../bfd -L../libiberty $ZLIBDIR $LDFLAGS" intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'` LIBS="-lbfd -liberty -lz $intl $LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF support in BFD" >&5 @@ -13636,7 +13637,8 @@ fi # points somewhere with bfd, with -I/foo/lib and -L/foo/lib. We # always want our bfd. CFLAGS="-I${srcdir}/../include -I../bfd -I${srcdir}/../bfd $CFLAGS" - LDFLAGS="-L../bfd -L../libiberty $zlibdir $LDFLAGS" + ZLIBDIR=`echo $zlibdir | sed 's,\$(top_builddir)/,,g'` + LDFLAGS="-L../bfd -L../libiberty $ZLIBDIR $LDFLAGS" intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'` LIBS="-lbfd -liberty -lz $intl $LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mach-O support in BFD" >&5 |