changeset 166:76c434515fcd

Make the following ARCH and ARCH_DATA_MODEL changes for BSD: If the machine architecture is "Power Macintosh", set ARCH to ppc. If the ARCH is ppc, set ARCH_DATA_MODEL to 32.
author Landon Fuller <landonf@plausiblelabs.com>
date Sat, 05 Dec 2009 15:37:14 -0800
parents 8c3c1b874995
children b84fc2f85e13
files make/common/shared/Platform.gmk
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/shared/Platform.gmk	Sun Nov 29 18:04:51 2009 -0800
+++ b/make/common/shared/Platform.gmk	Sat Dec 05 15:37:14 2009 -0800
@@ -301,6 +301,9 @@
                 x86_64) \
                     echo amd64 \
                     ;; \
+                "Power Macintosh") \
+                    echo ppc \
+                    ;; \
                 *) \
                     echo $(mach) \
                     ;; \
@@ -317,8 +320,8 @@
     endif
   endif
 
-  # i586 and sparc are 32 bit, amd64 and sparc64 are 64
-  ifneq (,$(findstring $(ARCH), i586 sparc))
+  # i586, sparc, and ppc are 32 bit, amd64 and sparc64 are 64
+  ifneq (,$(findstring $(ARCH), i586 sparc ppc))
     ARCH_DATA_MODEL=32
   else
     ARCH_DATA_MODEL=64