aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/Makefile.buildlayout11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/Makefile.buildlayout b/packages/Makefile.buildlayout
index 0adee029..a8cfbb74 100644
--- a/packages/Makefile.buildlayout
+++ b/packages/Makefile.buildlayout
@@ -53,6 +53,17 @@ ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME)))
OS_NAME = windows
EXTENSION = dll
endif
+# which CPU to compile for
+UNAME := $(shell uname -m)
+ifeq ($(UNAME),i386)
+ ARCH = i386
+endif
+ifeq ($(UNAME),i686)
+ ARCH = i386
+endif
+ifeq ($(UNAME),ppc)
+ ARCH = powerpc
+endif
#==============================================================================#
#