aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b096d2f..ec8e540 100644
--- a/Makefile
+++ b/Makefile
@@ -44,12 +44,12 @@ PLATFORM=$(COMPILE_PLATFORM)
endif
export PLATFORM
-ifndef ARCH
-ARCH=$(COMPILE_ARCH)
+ifeq ($(COMPILE_ARCH),powerpc)
+ COMPILE_ARCH=ppc
endif
-ifeq ($(ARCH),powerpc)
- ARCH=ppc
+ifndef ARCH
+ARCH=$(COMPILE_ARCH)
endif
export ARCH