diff options
Diffstat (limited to 'src/Makefile')
| -rw-r--r-- | src/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile index 5dd98a31..d23e0db2 100644 --- a/src/Makefile +++ b/src/Makefile | |||
| @@ -446,6 +446,10 @@ ifneq (,$(findstring LJ_ABI_PAUTH 1,$(TARGET_TESTARCH))) | |||
| 446 | DASM_AFLAGS+= -D PAUTH | 446 | DASM_AFLAGS+= -D PAUTH |
| 447 | TARGET_ARCH+= -DLJ_ABI_PAUTH=1 | 447 | TARGET_ARCH+= -DLJ_ABI_PAUTH=1 |
| 448 | endif | 448 | endif |
| 449 | ifneq (,$(findstring LJ_CET_BR 1,$(TARGET_TESTARCH))) | ||
| 450 | DASM_AFLAGS+= -D CET_BR | ||
| 451 | TARGET_ARCH+= -DLJ_CET_BR=1 | ||
| 452 | endif | ||
| 449 | DASM_AFLAGS+= -D VER=$(subst LJ_ARCH_VERSION_,,$(filter LJ_ARCH_VERSION_%,$(subst LJ_ARCH_VERSION ,LJ_ARCH_VERSION_,$(TARGET_TESTARCH)))) | 453 | DASM_AFLAGS+= -D VER=$(subst LJ_ARCH_VERSION_,,$(filter LJ_ARCH_VERSION_%,$(subst LJ_ARCH_VERSION ,LJ_ARCH_VERSION_,$(TARGET_TESTARCH)))) |
| 450 | ifeq (Windows,$(TARGET_SYS)) | 454 | ifeq (Windows,$(TARGET_SYS)) |
| 451 | DASM_AFLAGS+= -D WIN | 455 | DASM_AFLAGS+= -D WIN |
