diff options
| author | ruki <[email protected]> | 2020-11-09 22:43:38 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-11-09 22:43:38 +0800 |
| commit | 2ac892767668f59953c48f11f99941b338ec51d9 (patch) | |
| tree | 24582af2de10afc2a17f6202cdc539d9c0f0a6c6 /core/src/luajit/makefile | |
| parent | 2e2ee72b228347b4f839bf4a2761258923b7950c (diff) | |
add mingw platform for core
Diffstat (limited to 'core/src/luajit/makefile')
| -rw-r--r-- | core/src/luajit/makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/luajit/makefile b/core/src/luajit/makefile index e0bc287ea..fa63cc67c 100644 --- a/core/src/luajit/makefile +++ b/core/src/luajit/makefile @@ -87,6 +87,9 @@ endif ifeq ($(PLAT),msys) iswin = yes endif +ifeq ($(PLAT),mingw) + iswin = yes +endif ifeq ($(PLAT),cygwin) iswin = yes endif @@ -127,10 +130,12 @@ luajit_CXFLAGS += -DLUAJIT_USE_SYSMALLOC endif # fix call math.sin/log crash for fedora/i386/lj_vm.S with `LDFLAGS = -specs=/usr/lib/rpm/redhat/redhat-hardened-ld` in xmake.spec/%set_build_flags +ifndef iswin ifeq ($(BUILD_ARCH),i386) luajit_ASFLAGS += -fPIE luajit_CXFLAGS += -fPIE endif +endif # suffix include $(PRO_DIR)/suffix.mak |
