diff mbox

PR77661 - Fix: --enable-maintainer-mode causes in-tree-build of MPC to fail

Message ID 20160920132100.GA13604@physik.fu-berlin.de
State New
Headers show

Commit Message

Tobias Burnus Sept. 20, 2016, 1:21 p.m. UTC
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.

Comments

Richard Biener Sept. 20, 2016, 1:28 p.m. UTC | #1
On Tue, Sep 20, 2016 at 3:21 PM, Tobias Burnus
<tobias.burnus@physik.fu-berlin.de> wrote:
> 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?

Ok if nobody objects within 48 hours.

Richard.

> Cheers,
>
> Tobias
>
> PS: Thanks to Richard for the suggestion.
diff mbox

Patch

	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