mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
fixes for mac
* per http://luajit.org/install.html, otherwise LuaJIT always fails to get desired memory chunk from mmap(2) * kill a warning of clang
This commit is contained in:
3
Makefile
3
Makefile
@@ -53,6 +53,9 @@ ifdef EMULATE_READER
|
||||
-DEMULATE_READER_W=$(EMULATE_READER_W) \
|
||||
-DEMULATE_READER_H=$(EMULATE_READER_H)
|
||||
EMU_LDFLAGS?=$(shell sdl-config --libs)
|
||||
ifeq "$(shell uname -s -m)" "Darwin x86_64"
|
||||
EMU_LDFLAGS += -pagezero_size 10000 -image_base 100000000
|
||||
endif
|
||||
else
|
||||
CFLAGS+= $(ARM_CFLAGS)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user