diff options
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 531f8bab..748a4ed7 100644 --- a/src/Makefile +++ b/src/Makefile | |||
@@ -379,9 +379,15 @@ ifneq (,$(findstring LJ_DUALNUM 1,$(TARGET_TESTARCH))) | |||
379 | endif | 379 | endif |
380 | ifneq (,$(findstring LJ_ARCH_HASFPU 1,$(TARGET_TESTARCH))) | 380 | ifneq (,$(findstring LJ_ARCH_HASFPU 1,$(TARGET_TESTARCH))) |
381 | DASM_AFLAGS+= -D FPU | 381 | DASM_AFLAGS+= -D FPU |
382 | TARGET_ARCH+= -DLJ_ARCH_HASFPU=1 | ||
383 | else | ||
384 | TARGET_ARCH+= -DLJ_ARCH_HASFPU=0 | ||
382 | endif | 385 | endif |
383 | ifeq (,$(findstring LJ_ABI_SOFTFP 1,$(TARGET_TESTARCH))) | 386 | ifeq (,$(findstring LJ_ABI_SOFTFP 1,$(TARGET_TESTARCH))) |
384 | DASM_AFLAGS+= -D HF | 387 | DASM_AFLAGS+= -D HFABI |
388 | TARGET_ARCH+= -DLJ_ABI_SOFTFP=0 | ||
389 | else | ||
390 | TARGET_ARCH+= -DLJ_ABI_SOFTFP=1 | ||
385 | endif | 391 | endif |
386 | DASM_AFLAGS+= -D VER=$(subst LJ_ARCH_VERSION_,,$(filter LJ_ARCH_VERSION_%,$(subst LJ_ARCH_VERSION ,LJ_ARCH_VERSION_,$(TARGET_TESTARCH)))) | 392 | DASM_AFLAGS+= -D VER=$(subst LJ_ARCH_VERSION_,,$(filter LJ_ARCH_VERSION_%,$(subst LJ_ARCH_VERSION ,LJ_ARCH_VERSION_,$(TARGET_TESTARCH)))) |
387 | ifeq (Windows,$(TARGET_SYS)) | 393 | ifeq (Windows,$(TARGET_SYS)) |