Currently, --enable-maintainer-mode causes an in-tree build MPC to fail (cf. PR). The attached patch fixes this for --enable-maintainer-mode.
OK for the trunk? Cheers, Tobias PS: Thanks to Richard for the suggestion.
PR boot/77661 * Makefile.def: Don't pass --enable-maintainer-mode on to an in-tree build MPC. * Makefile.in: Regenerate. diff --git a/Makefile.def b/Makefile.def index 05316a4..3b3f3ea 100644 --- a/Makefile.def +++ b/Makefile.def @@ -65,3 +65,3 @@ host_modules= { module= mpfr; lib_path=src/.libs; bootstrap=true; host_modules= { module= mpc; lib_path=src/.libs; bootstrap=true; - extra_configure_flags='--disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@'; + extra_configure_flags='--disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode'; no_install= true; }; diff --git a/Makefile.in b/Makefile.in index 117fbf5..9005405 100644 --- a/Makefile.in +++ b/Makefile.in @@ -14101,3 +14101,3 @@ configure-mpc: $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \ + --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode \ || exit 1 @@ -14137,3 +14137,3 @@ configure-stage1-mpc: $(STAGE1_CONFIGURE_FLAGS) \ - --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ + --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode @endif mpc-bootstrap @@ -14171,3 +14171,3 @@ configure-stage2-mpc: $(STAGE2_CONFIGURE_FLAGS) \ - --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ + --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode @endif mpc-bootstrap @@ -14205,3 +14205,3 @@ configure-stage3-mpc: $(STAGE3_CONFIGURE_FLAGS) \ - --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ + --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode @endif mpc-bootstrap @@ -14239,3 +14239,3 @@ configure-stage4-mpc: $(STAGE4_CONFIGURE_FLAGS) \ - --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ + --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode @endif mpc-bootstrap @@ -14273,3 +14273,3 @@ configure-stageprofile-mpc: $(STAGEprofile_CONFIGURE_FLAGS) \ - --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ + --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode @endif mpc-bootstrap @@ -14307,3 +14307,3 @@ configure-stagefeedback-mpc: $(STAGEfeedback_CONFIGURE_FLAGS) \ - --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ + --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode @endif mpc-bootstrap @@ -14341,3 +14341,3 @@ configure-stageautoprofile-mpc: $(STAGEautoprofile_CONFIGURE_FLAGS) \ - --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ + --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode @endif mpc-bootstrap @@ -14375,3 +14375,3 @@ configure-stageautofeedback-mpc: $(STAGEautofeedback_CONFIGURE_FLAGS) \ - --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ + --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode @endif mpc-bootstrap