* [PATCH] configure: use OBJDUMP determined by libtool [PR95648]
@ 2022-03-15 8:59 David Seifert
2022-06-01 21:25 ` Jeff Law
0 siblings, 1 reply; 2+ messages in thread
From: David Seifert @ 2022-03-15 8:59 UTC (permalink / raw)
To: gcc-patches; +Cc: David Seifert
$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.
gcc/
* configure: Regenerate.
libcc1/
* configure: Regenerate.
---
config/gcc-plugin.m4 | 2 +-
gcc/configure | 2 +-
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 14b19c8fe0c..9cf18259461 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -32057,7 +32057,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
--
2.35.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] configure: use OBJDUMP determined by libtool [PR95648]
2022-03-15 8:59 [PATCH] configure: use OBJDUMP determined by libtool [PR95648] David Seifert
@ 2022-06-01 21:25 ` Jeff Law
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2022-06-01 21:25 UTC (permalink / raw)
To: gcc-patches
On 3/15/2022 2:59 AM, David Seifert via Gcc-patches wrote:
> $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.
>
> gcc/
>
> * configure: Regenerate.
>
> libcc1/
>
> * configure: Regenerate.
THanks. I've pushed this to the trunk.
jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-01 21:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-15 8:59 [PATCH] configure: use OBJDUMP determined by libtool [PR95648] David Seifert
2022-06-01 21:25 ` Jeff Law
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).