From b06688e5854ec450bd54cd4f7f64b7d4254b2402 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 3 Oct 2011 14:40:14 -0500 Subject: [PATCH] Specify "build" but not "host" for gmp and mpfr The "--host" flag to configure defaults to "--build", and explicitly passing it is normally reserved for cross-compiling. Signed-off-by: Jack Nagel --- Formula/gmp.rb | 2 +- Formula/mpfr.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/gmp.rb b/Formula/gmp.rb index ee0cba141f..6360fe96f2 100644 --- a/Formula/gmp.rb +++ b/Formula/gmp.rb @@ -27,7 +27,7 @@ class Gmp < Formula args << "--build=x86_64-apple-darwin" else ENV.m32 - args << "--host=none-apple-darwin" + args << "--build=none-apple-darwin" end system "./configure", *args diff --git a/Formula/mpfr.rb b/Formula/mpfr.rb index 80aec07b8b..a8733d1fd9 100644 --- a/Formula/mpfr.rb +++ b/Formula/mpfr.rb @@ -25,7 +25,7 @@ class Mpfr < Formula args << "--build=x86_64-apple-darwin" else ENV.m32 - args << "--host=none-apple-darwin" + args << "--build=none-apple-darwin" end system "./configure", *args