diff options
author | Mike Pall <mike> | 2017-03-30 11:17:15 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2017-03-30 11:30:01 +0200 |
commit | 3143b218946395834f0bfef741061ac6ef3f5b56 (patch) | |
tree | 07721c6a94616eda13799a6027b00f3e3fc999a4 /src/Makefile | |
parent | 78f5f1cef19502289604299e4e6d00e14411f764 (diff) | |
download | luajit-3143b218946395834f0bfef741061ac6ef3f5b56.tar.gz luajit-3143b218946395834f0bfef741061ac6ef3f5b56.tar.bz2 luajit-3143b218946395834f0bfef741061ac6ef3f5b56.zip |
ARM64: Add big-endian support.
Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com.
Sponsored by Cisco Systems, Inc.
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile index 7cb4c14a..f56465d1 100644 --- a/src/Makefile +++ b/src/Makefile | |||
@@ -242,6 +242,9 @@ ifneq (,$(findstring LJ_TARGET_ARM ,$(TARGET_TESTARCH))) | |||
242 | TARGET_LJARCH= arm | 242 | TARGET_LJARCH= arm |
243 | else | 243 | else |
244 | ifneq (,$(findstring LJ_TARGET_ARM64 ,$(TARGET_TESTARCH))) | 244 | ifneq (,$(findstring LJ_TARGET_ARM64 ,$(TARGET_TESTARCH))) |
245 | ifneq (,$(findstring __AARCH64EB__ ,$(TARGET_TESTARCH))) | ||
246 | TARGET_ARCH= -D__AARCH64EB__=1 | ||
247 | endif | ||
245 | TARGET_LJARCH= arm64 | 248 | TARGET_LJARCH= arm64 |
246 | else | 249 | else |
247 | ifneq (,$(findstring LJ_TARGET_PPC ,$(TARGET_TESTARCH))) | 250 | ifneq (,$(findstring LJ_TARGET_PPC ,$(TARGET_TESTARCH))) |