We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e4e8252 + af32c92 commit 665319bCopy full SHA for 665319b
src/Makefile
@@ -24,6 +24,8 @@ else
24
HOST_SYS:= $(shell uname -s)
25
ifneq (,$(findstring CYGWIN,$(TARGET_SYS)))
26
HOST_SYS= Windows
27
+ else ifeq (Darwin,$(HOST_SYS))
28
+ LFLAGS += -pagezero_size 10000 -image_base 100000000
29
endif
30
31
@@ -56,7 +58,7 @@ TARGETS = liblang.a
56
58
all: $(TARGETS) luajit-x
57
59
60
luajit-x: $(LANG_OBJ_FILES) luajit-x.o
- $(COMPILE) -o $@ $(LANG_OBJ_FILES) luajit-x.o $(LIBS)
61
+ $(COMPILE) -o $@ $(LANG_OBJ_FILES) luajit-x.o $(LIBS) $(LFLAGS)
62
63
liblang.a: $(LANG_OBJ_FILES)
64
@echo Archive $@
0 commit comments