1
1
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:
Tae Won Ha 2018-05-14 22:08:51 +02:00
parent ab5078d173
commit d964c96df8
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44
3 changed files with 11 additions and 5 deletions

View File

@ -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)";
};

View File

@ -1,6 +1,4 @@
DISABLE_TUI := DISABLE
ENABLE_CUSTOM_UI := ENABLE
DEPS_CMAKE_FLAGS += -DUSE_BUNDLED_LUA=ON
CMAKE_BUILD_TYPE := Release

View File

@ -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"