[gtk-osx: 1/3] Force the host on liboil; otherwise it tries to use x86_64 assembly for arch -i386



commit 66cb5ea691818b7f1f07f489831fe7aec4d4b8a6
Author: John Ralls <jralls ceridwen us>
Date:   Mon Jan 16 10:14:37 2012 -0800

    Force the host on liboil; otherwise it tries to use x86_64 assembly for arch -i386

 jhbuildrc-gtk-osx |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/jhbuildrc-gtk-osx b/jhbuildrc-gtk-osx
index 378d919..10f4557 100644
--- a/jhbuildrc-gtk-osx
+++ b/jhbuildrc-gtk-osx
@@ -257,10 +257,12 @@ def setup_sdk(target, sdk_version, architectures=[_default_arch]):
         append_autogenargs("glib", "--build=i486-apple-darwin")
         append_autogenargs("gmp", "ABI=32")
         append_autogenargs("libffi", "--build=i486-apple-darwin")
+        append_autogenargs("liboil", "--host=i486-apple-darwin")
     elif architectures == ["x86_64"]:
         append_autogenargs("glib", "--build=x86_64-apple-darwin")
         append_autogenargs("gmp", "ABI=64")
         append_autogenargs("libffi", "--build=x86_64-apple-darwin")
+        append_autogenargs("liboil", "--host=x86_64-apple-darwin")
 
 
     # Tiger has a somewhat messed-up resolv.h, so we need to explicitly



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]