From 8db70a1a1b51bc0198fde4c8690b641572c52bfb Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 6 Apr 2010 15:10:31 -0700 Subject: [PATCH] Build fat appropriately for Leopard. --- configure | 9 +++++++++ configure.in | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/configure b/configure index 9eab2864..9ae7ba18 100755 --- a/configure +++ b/configure @@ -4397,6 +4397,15 @@ fi if test "$enable_universal" != "no"; then case "$host_os" in + darwin9.*) + # + # Leopard. Build for x86 and 32-bit PowerPC, with + # x86 first. (That's what Apple does.) + # + V_CCOPT="$V_CCOPT -arch i386 -arch ppc" + LDFLAGS="$LDFLAGS -arch i386 -arch ppc" + ;; + darwin10.*) # # Snow Leopard. Build for x86-64 and x86, with diff --git a/configure.in b/configure.in index e10b94bb..c02ef39e 100644 --- a/configure.in +++ b/configure.in @@ -66,6 +66,15 @@ darwin*) if test "$enable_universal" != "no"; then case "$host_os" in + darwin9.*) + # + # Leopard. Build for x86 and 32-bit PowerPC, with + # x86 first. (That's what Apple does.) + # + V_CCOPT="$V_CCOPT -arch i386 -arch ppc" + LDFLAGS="$LDFLAGS -arch i386 -arch ppc" + ;; + darwin10.*) # # Snow Leopard. Build for x86-64 and x86, with -- 2.39.5