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:
@@ -95,7 +95,7 @@ CFLAGS += -fno-omit-frame-pointer
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# also forward all LFS3_* environment variables
|
# 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-unused-function
|
||||||
TEST_CFLAGS += -Wno-format-overflow
|
TEST_CFLAGS += -Wno-format-overflow
|
||||||
|
|||||||
Reference in New Issue
Block a user