]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Build fat appropriately for Leopard.
authorGuy Harris <[email protected]>
Tue, 6 Apr 2010 22:10:31 +0000 (15:10 -0700)
committerGuy Harris <[email protected]>
Tue, 6 Apr 2010 22:10:31 +0000 (15:10 -0700)
configure
configure.in

index 9eab2864f2ecf832826f9ac241ce19336a2c3ee0..9ae7ba187b689b2bbe6c2164cfedec9bd3805dae 100755 (executable)
--- 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
index e10b94bb1c8c0a6c9916af06b12f98f5c27cd5e0..c02ef39e925278a42b63c4853ca9523491868f2d 100644 (file)
@@ -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