summaryrefslogtreecommitdiff
path: root/build-aux/no-builtin-variables.mk
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-05-31 01:23:48 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-09 15:55:47 -0400
commit14158ad5fc38836854a1a52ed03e6174a4083a96 (patch)
treecef7fc720c0019e75e8e02a2b2e6b075a822fd80 /build-aux/no-builtin-variables.mk
parentd330445fb7f84748e70e67ca5bc44ce0a1a258f7 (diff)
Makefile: run with --warn-undefined-variables
Diffstat (limited to 'build-aux/no-builtin-variables.mk')
-rw-r--r--build-aux/no-builtin-variables.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/build-aux/no-builtin-variables.mk b/build-aux/no-builtin-variables.mk
index c236c73..c3aef58 100644
--- a/build-aux/no-builtin-variables.mk
+++ b/build-aux/no-builtin-variables.mk
@@ -9,3 +9,7 @@ $(foreach v,$(filter-out .% MAKE% SUFFIXES,$(_default_variables))\
$(filter .LIBPATTERNS MAKEINFO,$(_default_variables)),\
$(eval undefine $v))
undefine _default_variables
+
+# Because Make uses .LIBPATTERNS internally, it should always be
+# defined in case --warn-undefined-variables
+.LIBPATTERNS ?=