mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-28 02:54:31 +03:00
Use LuaJIT again.
RTFM: Add ``` -pagezero_size 10000 -image_base 100000000 ``` when linking. (http://luajit.org/install.html)
This commit is contained in:
parent
ab5078d173
commit
d964c96df8
@ -612,11 +612,15 @@
|
||||
"-lutil",
|
||||
"$(PROJECT_DIR)/third-party/libintl/lib/libintl.a",
|
||||
"$(PROJECT_DIR)/neovim/.deps/usr/lib/libjemalloc.a",
|
||||
"$(PROJECT_DIR)/neovim/.deps/usr/lib/liblua.a",
|
||||
"$(PROJECT_DIR)/neovim/.deps/usr/lib/libluajit-5.1.a",
|
||||
"$(PROJECT_DIR)/neovim/.deps/usr/lib/libvterm.a",
|
||||
"$(PROJECT_DIR)/neovim/.deps/usr/lib/libuv.a",
|
||||
"$(PROJECT_DIR)/neovim/.deps/usr/lib/libmsgpackc.a",
|
||||
"$(PROJECT_DIR)/neovim/build/lib/libnvim.a",
|
||||
"-image_base",
|
||||
100000000,
|
||||
"-pagezero_size",
|
||||
10000,
|
||||
);
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
};
|
||||
@ -646,11 +650,15 @@
|
||||
"-lutil",
|
||||
"$(PROJECT_DIR)/third-party/libintl/lib/libintl.a",
|
||||
"$(PROJECT_DIR)/neovim/.deps/usr/lib/libjemalloc.a",
|
||||
"$(PROJECT_DIR)/neovim/.deps/usr/lib/liblua.a",
|
||||
"$(PROJECT_DIR)/neovim/.deps/usr/lib/libluajit-5.1.a",
|
||||
"$(PROJECT_DIR)/neovim/.deps/usr/lib/libvterm.a",
|
||||
"$(PROJECT_DIR)/neovim/.deps/usr/lib/libuv.a",
|
||||
"$(PROJECT_DIR)/neovim/.deps/usr/lib/libmsgpackc.a",
|
||||
"$(PROJECT_DIR)/neovim/build/lib/libnvim.a",
|
||||
"-image_base",
|
||||
100000000,
|
||||
"-pagezero_size",
|
||||
10000,
|
||||
);
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
};
|
||||
|
@ -1,6 +1,4 @@
|
||||
DISABLE_TUI := DISABLE
|
||||
ENABLE_CUSTOM_UI := ENABLE
|
||||
|
||||
DEPS_CMAKE_FLAGS += -DUSE_BUNDLED_LUA=ON
|
||||
|
||||
CMAKE_BUILD_TYPE := Release
|
||||
|
@ -11,7 +11,7 @@ ln -sf ../local.mk .
|
||||
# to get the full runtime.
|
||||
make CFLAGS='-mmacosx-version-min=10.10' \
|
||||
MACOSX_DEPLOYMENT_TARGET=10.10 \
|
||||
CMAKE_EXTRA_FLAGS="-DGETTEXT_SOURCE=CUSTOM -DPREFER_LUA=ON" \
|
||||
CMAKE_EXTRA_FLAGS="-DGETTEXT_SOURCE=CUSTOM" \
|
||||
libnvim
|
||||
|
||||
echo "### Built libnvim"
|
||||
|
Loading…
Reference in New Issue
Block a user