no need to set --build when configuring libffi
authorMark Lentczner <mzero@google.com>
Thu, 14 Apr 2011 21:38:48 +0000 (14:38 -0700)
committerIan Lynagh <igloo@earth.li>
Fri, 22 Apr 2011 12:08:02 +0000 (13:08 +0100)
The value --build was set to broke cross-compilier builds, and isn't
needed for regular builds.

libffi/ghc.mk

index 080c43f..2edbc41 100644 (file)
@@ -125,7 +125,7 @@ $(libffi_STAMP_CONFIGURE):
         "$(SHELL)" configure \
                  --enable-static=yes \
                  --enable-shared=$(libffi_EnableShared) \
-                 --host=$(PLATFORM) --build=$(PLATFORM)
+                 --host=$(PLATFORM)
 
        # libffi.so needs to be built with the correct soname.
        # NOTE: this builds libffi_convience.so with the incorrect
@@ -227,4 +227,3 @@ $(eval $(call manual-package-config,libffi))
 # binary-dist
 
 BINDIST_EXTRAS += libffi/package.conf.in
-