aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorMike Pall <mike>2015-04-12 01:23:01 +0200
committerMike Pall <mike>2015-04-12 01:23:01 +0200
commitdec4acca9a2e06b565415d7be44506baa0a0fee0 (patch)
treeb3c15e8990573cdf721b6019d7dbb086304751a9 /src/Makefile
parent8002871619b21ac97673d50a46070d2f9338ea85 (diff)
downloadluajit-dec4acca9a2e06b565415d7be44506baa0a0fee0.tar.gz
luajit-dec4acca9a2e06b565415d7be44506baa0a0fee0.tar.bz2
luajit-dec4acca9a2e06b565415d7be44506baa0a0fee0.zip
PPC: Fix cross-endian builds.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index d7539fd5..903beedd 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -221,6 +221,11 @@ ifneq (,$(findstring LJ_TARGET_ARM64 ,$(TARGET_TESTARCH)))
221 TARGET_LJARCH= arm64 221 TARGET_LJARCH= arm64
222else 222else
223ifneq (,$(findstring LJ_TARGET_PPC ,$(TARGET_TESTARCH))) 223ifneq (,$(findstring LJ_TARGET_PPC ,$(TARGET_TESTARCH)))
224 ifneq (,$(findstring LJ_LE 1,$(TARGET_TESTARCH)))
225 TARGET_ARCH= -DLJ_ARCH_ENDIAN=LUAJIT_LE
226 else
227 TARGET_ARCH= -DLJ_ARCH_ENDIAN=LUAJIT_BE
228 endif
224 TARGET_LJARCH= ppc 229 TARGET_LJARCH= ppc
225else 230else
226ifneq (,$(findstring LJ_TARGET_MIPS ,$(TARGET_TESTARCH))) 231ifneq (,$(findstring LJ_TARGET_MIPS ,$(TARGET_TESTARCH)))