build: do not indent assignments in Makefile
Indented assignment in a Makefile can be interpreted as a command in e.g. GNU Make 3.81 which results in the following error: ``` make: CPPLINT_QUIET: No such file or directory ``` PR-URL: https://github.com/nodejs/node/pull/29623 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
parent
aa32e13968
commit
54a0553a9f
4
Makefile
4
Makefile
@ -1312,9 +1312,9 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(V),1)
|
ifeq ($(V),1)
|
||||||
CPPLINT_QUIET =
|
CPPLINT_QUIET =
|
||||||
else
|
else
|
||||||
CPPLINT_QUIET = --quiet
|
CPPLINT_QUIET = --quiet
|
||||||
endif
|
endif
|
||||||
.PHONY: lint-cpp
|
.PHONY: lint-cpp
|
||||||
# Lints the C++ code with cpplint.py and check-imports.py.
|
# Lints the C++ code with cpplint.py and check-imports.py.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user