diff options
author | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2014-06-20 11:48:15 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2014-06-20 11:48:15 +0100 |
commit | e1d2394b50c7b174f48e38efb398034d75e67c99 (patch) | |
tree | f0e041f0c47266fdf3b92b91ea2b0a93b1fe3b1b /gdb/gdbserver/ChangeLog | |
parent | eea6dad2b3ae91189caa91145dd133bae0398d21 (diff) | |
download | gdb-e1d2394b50c7b174f48e38efb398034d75e67c99.zip gdb-e1d2394b50c7b174f48e38efb398034d75e67c99.tar.gz gdb-e1d2394b50c7b174f48e38efb398034d75e67c99.tar.bz2 |
Fix gdbserver cross build.
The recent libiberty patch caused issues when cross building
gdbserver. The Makefile ends invoking the build machine's "ar"
instead of the --host version:
ar ./libiberty.a \
./regex.o (...)
ar: illegal option -- .
Usage: ar [emulation options] [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name] [count] archive-file file...
ar -M [<mri-script]
The libiberty configure script does probe for and finds an appropriate
AR. However, gdbserver's configure does not probe for AR and
overrides the AR used in the libiberty build by explicitly passing AR
to the sub-builds.
gdb/gdbserver/
2014-06-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
* configure.ac: Invoke. AC_CHECK_TOOL(AR, ar).
* Makefile.in (AR, AR_FLAGS): Define.
* configure: Regenerate.
Diffstat (limited to 'gdb/gdbserver/ChangeLog')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index dda84f9..54556f8 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,9 @@ +2014-06-20 Marcus Shawcroft <marcus.shawcroft@arm.com> + + * configure.ac: Invoke. AC_CHECK_TOOL(AR, ar). + * Makefile.in (AR, AR_FLAGS): Define. + * configure: Regenerate. + 2014-06-19 Gary Benson <gbenson@redhat.com> * Makefile.in (i386-dregs.o): New rule. |