mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 05:05:00 -07:00
Revert "Makefile: add PREFIX variable"
This reverts commit c13f72ee0a
.
References #5447.
This commit is contained in:
parent
97caabc49a
commit
0fa4f98a05
4
Makefile
4
Makefile
@ -13,10 +13,6 @@ CLINT_ERRORS_FILE_PATH := /reports/clint/errors.json
|
||||
BUILD_TYPE ?= $(shell (type ninja > /dev/null 2>&1 && echo "Ninja") || \
|
||||
echo "Unix Makefiles")
|
||||
|
||||
ifneq (,$(PREFIX))
|
||||
CMAKE_FLAGS += -DCMAKE_INSTALL_PREFIX:PATH="$(PREFIX)"
|
||||
endif
|
||||
|
||||
ifeq (,$(BUILD_TOOL))
|
||||
ifeq (Ninja,$(BUILD_TYPE))
|
||||
ifneq ($(shell cmake --help 2>/dev/null | grep Ninja),)
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Individual entries must be uncommented to take effect.
|
||||
|
||||
# By default, the installation prefix is '/usr/local'.
|
||||
# PREFIX := /usr/local/nvim-latest
|
||||
# CMAKE_EXTRA_FLAGS += -DCMAKE_INSTALL_PREFIX=/usr/local/nvim-latest
|
||||
|
||||
# These CFLAGS can be used in addition to those specified in CMakeLists.txt:
|
||||
# CMAKE_EXTRA_FLAGS="-DCMAKE_C_FLAGS=-ftrapv -Wlogical-op"
|
||||
|
Loading…
Reference in New Issue
Block a user