aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-10-13 12:03:47 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-10-13 12:03:47 +0000
commit6fb749991268c5ce6a8b7aa7c6fb1611e814e740 (patch)
tree4825f827431857d0c132fc4b326f1402d7e37a27 /Makefile
parent40f6961fff934d6a7422fe2333abb33436f7196b (diff)
downloadioquake3-aero-6fb749991268c5ce6a8b7aa7c6fb1611e814e740.tar.gz
ioquake3-aero-6fb749991268c5ce6a8b7aa7c6fb1611e814e740.zip
* Fix to qvm compilation on big endian architectures
git-svn-id: svn://svn.icculus.org/quake3/trunk@1197 edf5b092-35ff-0310-97b2-ce42778d08ea
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