mirror of https://git.wownero.com/dsc/mxe.git
luajit: support 64-bit
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
parent
2083aa49b7
commit
6eefed6313
|
@ -12,13 +12,19 @@ $(PKG)_DEPS := gcc
|
|||
|
||||
define $(PKG)_BUILD
|
||||
$(MAKE) -C '$(1)' -j '$(JOBS)' \
|
||||
HOST_CC="gcc -m32" CROSS=$(TARGET)- \
|
||||
HOST_CC='gcc -m32' CROSS='$(TARGET)-' \
|
||||
TARGET_SYS=Windows BUILDMODE=static \
|
||||
PREFIX='$(PREFIX)/$(TARGET)' \
|
||||
FILE_T=luajit.exe \
|
||||
install
|
||||
endef
|
||||
|
||||
$(PKG)_BUILD_x86_64-w64-mingw32 =
|
||||
# gcc -m64 is only available on 64-bit machines
|
||||
ifneq (,$(findstring 64,$(BUILD)))
|
||||
$(PKG)_BUILD_x86_64-w64-mingw32 = \
|
||||
$(subst 'gcc -m32','gcc -m64',$($(PKG)_BUILD))
|
||||
else
|
||||
$(PKG)_BUILD_x86_64-w64-mingw32 =
|
||||
endif
|
||||
|
||||
$(PKG)_BUILD_SHARED =
|
||||
|
|
Loading…
Reference in New Issue