make: Adopted lowercase for foreach variables

This seems to be the common style in other Makefiles, and avoids
confusion with global/env variables.
This commit is contained in:
Christopher Haster
2025-08-05 12:29:54 -05:00
parent a1b75497d6
commit 6a57258558

View File

@ -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