diff options
author | David Seifert <soap@gentoo.org> | 2023-08-07 13:07:16 +0200 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-08-12 09:58:23 +0930 |
commit | 46335e8e4db3f7186b91292b780686a3c2251218 (patch) | |
tree | 26e7ae5bd08d6fe86a035556c0f2eb144ae3d760 | |
parent | ddb5be247e4dfda21398edacf976524d7a7d104d (diff) | |
download | gdb-46335e8e4db3f7186b91292b780686a3c2251218.zip gdb-46335e8e4db3f7186b91292b780686a3c2251218.tar.gz gdb-46335e8e4db3f7186b91292b780686a3c2251218.tar.bz2 |
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.
-rw-r--r-- | config/gcc-plugin.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/gcc-plugin.m4 b/config/gcc-plugin.m4 index ca98d67..16ebe25 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 |