1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-24 22:33:52 +03:00

GH-666 Set the deployment target to 10.11

This commit is contained in:
Tae Won Ha 2018-10-06 17:05:09 +02:00
parent bd5d017809
commit 17d70170a0
3 changed files with 9 additions and 5 deletions

View File

@ -3,6 +3,7 @@
set -e
GETTEXT_VERSION="0.19.8.1"
DEPLOYMENT_TARGET="10.11"
echo "### Building deps"
@ -18,8 +19,8 @@ mv gettext-${GETTEXT_VERSION} gettext
pushd gettext
# Configure from https://github.com/Homebrew/homebrew-core/blob/8d1ae1b8967a6b77cc1f6f1af6bb348b3268553e/Formula/gettext.rb
# Set the deployment target to 10.10
./configure CFLAGS='-mmacosx-version-min=10.10' MACOSX_DEPLOYMENT_TARGET=10.10 \
# Set the deployment target to $DEPLOYMENT_TARGET
./configure CFLAGS="-mmacosx-version-min=${DEPLOYMENT_TARGET}" MACOSX_DEPLOYMENT_TARGET=${DEPLOYMENT_TARGET} \
--disable-dependency-tracking \
--disable-silent-rules \
--disable-debug \

View File

@ -2,6 +2,8 @@
set -e
DEPLOYMENT_TARGET="10.11"
echo "### Building libnvim"
# Brew's gettext does not get sym-linked to PATH
@ -12,8 +14,8 @@ ln -sf ../local.mk .
# We assume that we're already in the neovim project root.
# Use custom gettext source only when building libnvim => not in local.mk which is also used to build the full nvim
# to get the full runtime.
make CFLAGS='-mmacosx-version-min=10.10' \
MACOSX_DEPLOYMENT_TARGET=10.10 \
make CFLAGS="-mmacosx-version-min=${DEPLOYMENT_TARGET}" \
MACOSX_DEPLOYMENT_TARGET=${DEPLOYMENT_TARGET} \
CMAKE_EXTRA_FLAGS="-DGETTEXT_SOURCE=CUSTOM" \
libnvim

View File

@ -3,6 +3,7 @@
set -e
CODE_SIGN=$1
DEPLOYMENT_TARGET="10.11"
echo "### Building VimR target"
@ -20,7 +21,7 @@ make distclean
echo "### Building nvim to get the complete runtime folder"
rm -rf /tmp/nvim-runtime
make CFLAGS='-mmacosx-version-min=10.10' MACOSX_DEPLOYMENT_TARGET=10.10 CMAKE_FLAGS="-DCUSTOM_UI=0 -DCMAKE_INSTALL_PREFIX=/tmp/nvim-runtime" install
make CFLAGS="-mmacosx-version-min=${DEPLOYMENT_TARGET}" MACOSX_DEPLOYMENT_TARGET=${DEPLOYMENT_TARGET} CMAKE_FLAGS="-DCUSTOM_UI=0 -DCMAKE_INSTALL_PREFIX=/tmp/nvim-runtime" install
rm -rf build
make clean