mirror of
https://github.com/littlefs-project/littlefs.git
synced 2025-12-01 12:20:02 +00:00
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:
2
Makefile
2
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
|
||||
|
||||
Reference in New Issue
Block a user