https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95648

--- Comment #1 from Sergei Trofimovich <slyfox at inbox dot ru> ---
The following seems to be enough to use detected objdump:

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

Reply via email to