mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 18:24:07 +00:00
Merge pull request #122244 from thockin/makefile_warn_undefined
Makefile: enable warn-undefined-variables
This commit is contained in:
commit
ac425531b1
@ -35,9 +35,13 @@ BASH_ENV := ./hack/lib/logging.sh
|
|||||||
|
|
||||||
# Define variables so `make --warn-undefined-variables` works.
|
# Define variables so `make --warn-undefined-variables` works.
|
||||||
PRINT_HELP ?=
|
PRINT_HELP ?=
|
||||||
|
WHAT ?=
|
||||||
|
TESTS ?=
|
||||||
|
|
||||||
# We don't need make's built-in rules.
|
# We don't need make's built-in rules.
|
||||||
MAKEFLAGS += --no-builtin-rules
|
MAKEFLAGS += --no-builtin-rules
|
||||||
|
# Be pedantic about undefined variables.
|
||||||
|
MAKEFLAGS += --warn-undefined-variables
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
|
|
||||||
# Constants used throughout.
|
# Constants used throughout.
|
||||||
|
Loading…
Reference in New Issue
Block a user