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 6d9a1053..1df39dc1 100644 --- a/src/Makefile +++ b/src/Makefile | |||
| @@ -388,6 +388,11 @@ DASM_XFLAGS= | |||
| 388 | DASM_AFLAGS= | 388 | DASM_AFLAGS= |
| 389 | DASM_ARCH= $(TARGET_LJARCH) | 389 | DASM_ARCH= $(TARGET_LJARCH) |
| 390 | 390 | ||
| 391 | ifneq (,$(findstring LJ_LE 1,$(TARGET_TESTARCH))) | ||
| 392 | DASM_AFLAGS+= -D ENDIAN_LE | ||
| 393 | else | ||
| 394 | DASM_AFLAGS+= -D ENDIAN_BE | ||
| 395 | endif | ||
| 391 | ifneq (,$(findstring LJ_ARCH_BITS 64,$(TARGET_TESTARCH))) | 396 | ifneq (,$(findstring LJ_ARCH_BITS 64,$(TARGET_TESTARCH))) |
| 392 | DASM_AFLAGS+= -D P64 | 397 | DASM_AFLAGS+= -D P64 |
| 393 | endif | 398 | endif |
