mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 23:37:01 +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.
|
||||
PRINT_HELP ?=
|
||||
WHAT ?=
|
||||
TESTS ?=
|
||||
|
||||
# We don't need make's built-in rules.
|
||||
MAKEFLAGS += --no-builtin-rules
|
||||
# Be pedantic about undefined variables.
|
||||
MAKEFLAGS += --warn-undefined-variables
|
||||
.SUFFIXES:
|
||||
|
||||
# Constants used throughout.
|
||||
|
Loading…
Reference in New Issue
Block a user