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.
This commit is contained in:
David Seifert
2023-08-07 13:07:16 +02:00
committed by Alan Modra
parent ddb5be247e
commit 46335e8e4d

View File

@@ -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