mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
Lunatic/OS X: generate bytecode in object files from LuaJIT.
git-svn-id: https://svn.eduke32.com/eduke32@3693 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
d30faf8950
commit
c298c56652
1 changed files with 0 additions and 6 deletions
|
@ -434,13 +434,7 @@ ivfrate$(EXESUFFIX): $(OBJ)/ivfrate.$o
|
|||
# Create object files directly with luajit
|
||||
$(OBJ)/luaJIT_BC_%.$o: $(SRC)/lunatic/%.lua
|
||||
$(COMPILE_STATUS)
|
||||
ifeq ($(PLATFORM),DARWIN)
|
||||
# LuaJIT on OS X doesn't support writing Mach-O objects as of beta-10,
|
||||
# so we pipe the C source into GCC.
|
||||
if $(LUAJIT) -bg -t c $< - | $(CC) -xc -c - -o $@; then $(COMPILE_OK); else $(COMPILE_FAILED); fi
|
||||
else
|
||||
if $(LUAJIT) -bg $< $@; then $(COMPILE_OK); else $(COMPILE_FAILED); fi
|
||||
endif
|
||||
|
||||
# Same thing for defs.ilua which I'm too reluctant to rename now:
|
||||
$(OBJ)/luaJIT_BC_%.$o: $(SRC)/lunatic/%.ilua
|
||||
|
|
Loading…
Reference in a new issue