forked from platformio/platformio-core
Do not append debug flags to linker stage
This commit is contained in:
@ -322,7 +322,7 @@ def ConfigureDebugFlags(env):
|
|||||||
env.Append(CPPDEFINES=["__PLATFORMIO_BUILD_DEBUG__"])
|
env.Append(CPPDEFINES=["__PLATFORMIO_BUILD_DEBUG__"])
|
||||||
|
|
||||||
debug_flags = ["-Og", "-g3", "-ggdb3"]
|
debug_flags = ["-Og", "-g3", "-ggdb3"]
|
||||||
for scope in ("ASFLAGS", "CCFLAGS", "LINKFLAGS"):
|
for scope in ("ASFLAGS", "CCFLAGS",):
|
||||||
_cleanup_debug_flags(scope)
|
_cleanup_debug_flags(scope)
|
||||||
env.Append(**{scope: debug_flags})
|
env.Append(**{scope: debug_flags})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user