diff options
author | David Seifert <soap@gentoo.org> | 2022-06-01 17:21:44 -0400 |
---|---|---|
committer | Jeff Law <jeffreyalaw@gmail.com> | 2022-06-01 17:25:00 -0400 |
commit | c4c3cd5ca5fe13724253d4270dc643fbc6b7f557 (patch) | |
tree | 0fe627f08a913437fa6215aa3c2ed9fa331bdefd | |
parent | a743a72714fc4a9d7036d28d0cacdf2a3621f629 (diff) |
[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.
-rw-r--r-- | config/gcc-plugin.m4 | 2 | ||||
-rwxr-xr-x | gcc/configure | 2 | ||||
-rwxr-xr-x | libcc1/configure | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/config/gcc-plugin.m4 b/config/gcc-plugin.m4 index 7ee342fe5fe..2ccb9ca7258 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 diff --git a/gcc/configure b/gcc/configure index ba3a998cae1..32f74ab92ed 100755 --- a/gcc/configure +++ b/gcc/configure @@ -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 diff --git a/libcc1/configure b/libcc1/configure index 01cfb2806da..6dd91a086e6 100755 --- a/libcc1/configure +++ b/libcc1/configure @@ -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 |