diff options
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 5 |
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 |
222 | else | 222 | else |
223 | ifneq (,$(findstring LJ_TARGET_PPC ,$(TARGET_TESTARCH))) | 223 | ifneq (,$(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 |
225 | else | 230 | else |
226 | ifneq (,$(findstring LJ_TARGET_MIPS ,$(TARGET_TESTARCH))) | 231 | ifneq (,$(findstring LJ_TARGET_MIPS ,$(TARGET_TESTARCH))) |