summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@parabola.nu>2024-02-19 23:11:15 -0700
committerLuke T. Shumaker <lukeshu@parabola.nu>2024-02-20 22:09:26 -0700
commitd36b6b3ee89e218b6f68f1663bd7a7755f56c43d (patch)
treea7ee9db54e804ba76d9b89cc6b04675a6a90716a /GNUmakefile
parent1641a2efc36e2ac513b847a3dd95f333c0388e56 (diff)
fix: GNUmakefile: Shut up a warning from recent versions of Make
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 5b159f5..0bb8100 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -8,6 +8,10 @@
desired_MAKEFLAGS = --no-builtin-rules
desired_MAKEFLAGS += --no-builtin-variables
desired_MAKEFLAGS += --warn-undefined-variables
+# Setting GNUMAKEFLAGS is important so that --no-builtin-variables
+# with --warn-undefined-variables doesn't cause Make (as of 4.4.1) to
+# print spurious warnings about it being undefined for internal use.
+desired_MAKEFLAGS += GNUMAKEFLAGS=''
# Quiet this parent Make a bit.
MAKEFLAGS += --no-print-directory