From 7a6e85a7dcc211fe7fd76aece3fe07d0dfdf4dbf Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 3 Nov 2007 02:14:12 +0000 Subject: oops sorry, I forgot about the whackiness of makefiles, you can't reuse variables! svn path=/trunk/; revision=8925 --- packages/Makefile.buildlayout | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'packages') diff --git a/packages/Makefile.buildlayout b/packages/Makefile.buildlayout index a8cfbb74..4e16ebc2 100644 --- a/packages/Makefile.buildlayout +++ b/packages/Makefile.buildlayout @@ -54,14 +54,14 @@ ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME))) EXTENSION = dll endif # which CPU to compile for -UNAME := $(shell uname -m) -ifeq ($(UNAME),i386) +UNAME_MACHINE := $(shell uname -m) +ifeq ($(UNAME_MACHINE),i386) ARCH = i386 endif -ifeq ($(UNAME),i686) +ifeq ($(UNAME_MACHINE),i686) ARCH = i386 endif -ifeq ($(UNAME),ppc) +ifeq ($(UNAME_MACHINE),ppc) ARCH = powerpc endif -- cgit v1.2.1