mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
Makefile: fix trailing space in BUILD_CMD #10312
Only append flag for verbosity with ninja if non-empty. Fixes the trailing space with `ninja -C .deps`.
This commit is contained in:
parent
de2e51439e
commit
9ce34050e5
6
Makefile
6
Makefile
@ -41,15 +41,15 @@ ifeq (,$(BUILD_TOOL))
|
||||
endif
|
||||
endif
|
||||
|
||||
BUILD_CMD = $(BUILD_TOOL)
|
||||
|
||||
ifneq ($(VERBOSE),)
|
||||
# Only need to handle Ninja here. Make will inherit the VERBOSE variable.
|
||||
ifeq ($(BUILD_TYPE),Ninja)
|
||||
VERBOSE_FLAG := -v
|
||||
BUILD_CMD += -v
|
||||
endif
|
||||
endif
|
||||
|
||||
BUILD_CMD = $(BUILD_TOOL) $(VERBOSE_FLAG)
|
||||
|
||||
DEPS_CMAKE_FLAGS ?=
|
||||
# Back-compat: USE_BUNDLED_DEPS was the old name.
|
||||
USE_BUNDLED ?= $(USE_BUNDLED_DEPS)
|
||||
|
Loading…
Reference in New Issue
Block a user