[PATCH] 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.

	PR plugins/95648
config/

	* gcc-plugin.m4: Use libtool's $ac_cv_prog_OBJDUMP.

gcc/

	* configure: Regenerate.

libcc1/

	* configure: Regenerate.
This commit is contained in:
David Seifert 2022-06-01 17:21:44 -04:00 committed by Jeff Law
parent a743a72714
commit c4c3cd5ca5
3 changed files with 3 additions and 3 deletions

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

2
gcc/configure vendored
View File

@ -31725,7 +31725,7 @@ fi
;;
*)
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

2
libcc1/configure vendored
View File

@ -15034,7 +15034,7 @@ fi
;;
*)
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