public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] configure: use OBJDUMP determined by libtool [PR95648]
@ 2023-08-12  0:59 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2023-08-12  0:59 UTC (permalink / raw)
  To: bfd-cvs, gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=46335e8e4db3f7186b91292b780686a3c2251218

commit 46335e8e4db3f7186b91292b780686a3c2251218
Author: David Seifert <soap@gentoo.org>
Date:   Mon Aug 7 13:07:16 2023 +0200

    configure: use OBJDUMP determined by libtool [PR95648]
    
    $ac_cv_prog_OBJDUMP contains the --host OBJDUMP that
    libtool has inferred. Current config/gcc-plugin.m4 does
    not respect the user's choice for OBJDUMP.
    
    config/
            * gcc-plugin.m4: Use libtool's $ac_cv_prog_OBJDUMP.

Diff:
---
 config/gcc-plugin.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/gcc-plugin.m4 b/config/gcc-plugin.m4
index ca98d674912..16ebe25182b 100644
--- a/config/gcc-plugin.m4
+++ b/config/gcc-plugin.m4
@@ -45,7 +45,7 @@ AC_DEFUN([GCC_ENABLE_PLUGINS],
      ;;
      *)
        if test x$build = x$host; then
-	 export_sym_check="objdump${exeext} -T"
+	 export_sym_check="$ac_cv_prog_OBJDUMP -T"
        elif test x$host = x$target; then
 	 export_sym_check="$gcc_cv_objdump -T"
        else

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-12  0:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-12  0:59 [binutils-gdb] configure: use OBJDUMP determined by libtool [PR95648] Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).