From c298c5665295d2eea0f3cbbc8759fa60c4b3079a Mon Sep 17 00:00:00 2001 From: helixhorned Date: Wed, 17 Apr 2013 20:34:59 +0000 Subject: [PATCH] Lunatic/OS X: generate bytecode in object files from LuaJIT. git-svn-id: https://svn.eduke32.com/eduke32@3693 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/Makefile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/polymer/eduke32/Makefile b/polymer/eduke32/Makefile index baee08a3e..eefa95d87 100644 --- a/polymer/eduke32/Makefile +++ b/polymer/eduke32/Makefile @@ -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