From a45fdb678b0fb85719939c6898387c097068386c Mon Sep 17 00:00:00 2001
From: Alexandre Oliva <aoliva@redhat.com>
Date: Mon, 16 Nov 2009 22:57:46 +0000
Subject: * Makefile.def: Restore host and target settings for gmp. *
 Makefile.in: Rebuild.

---
 Makefile.def | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'Makefile.def')

diff --git a/Makefile.def b/Makefile.def
index 496213f2f7..f5c2e11f99 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -62,7 +62,13 @@ host_modules= { module= gawk; };
 host_modules= { module= gettext; };
 host_modules= { module= gmp; lib_path=.libs; bootstrap=true;
 		extra_configure_flags='--disable-shared';
-		no_install= true; };
+		no_install= true;
+		// none-*-* disables asm optimizations, bootstrap-testing
+		// the compiler more thoroughly.
+	        host="none-${host_vendor}-${host_os}";
+		// gmp's configure will complain if given anything
+		// different from host for target.
+	        target="none-${host_vendor}-${host_os}"; };
 host_modules= { module= mpfr; lib_path=.libs; bootstrap=true;
 		extra_configure_flags='--disable-shared @extra_mpfr_configure_flags@';
 		no_install= true; };
-- 
cgit v1.2.1

