mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Fix missed build.extra_flags for the board
This commit is contained in:
@ -51,7 +51,7 @@ def BuildProgram(env):
|
||||
|
||||
# process extra flags from board
|
||||
if "BOARD" in env:
|
||||
env.ProcessFlags(env.BoardConfig().get("build.extra_flags"))
|
||||
env.ProcessFlags(env.BoardConfig().get("build.extra_flags", None))
|
||||
# remove base flags
|
||||
env.ProcessUnFlags(env.get("BUILD_UNFLAGS"))
|
||||
# apply user flags
|
||||
|
Reference in New Issue
Block a user