From 6a57258558fdb71ea0dda8f0ad2966b1ae31692e Mon Sep 17 00:00:00 2001 From: Christopher Haster Date: Tue, 5 Aug 2025 12:29:54 -0500 Subject: [PATCH] make: Adopted lowercase for foreach variables This seems to be the common style in other Makefiles, and avoids confusion with global/env variables. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f3d1de54..8c887ac4 100644 --- a/Makefile +++ b/Makefile @@ -95,7 +95,7 @@ CFLAGS += -fno-omit-frame-pointer endif # also forward all LFS3_* environment variables -CFLAGS += $(foreach D,$(filter LFS3_%,$(.VARIABLES)),-D$D=$($D)) +CFLAGS += $(foreach d,$(filter LFS3_%,$(.VARIABLES)),-D$d=$($d)) TEST_CFLAGS += -Wno-unused-function TEST_CFLAGS += -Wno-format-overflow