Return back LINKFLAGS for debug mode

This commit is contained in:
Ivan Kravets
2019-10-03 18:16:55 +03:00
parent a7855ae664
commit 9954900a0e

View File

@ -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"): for scope in ("ASFLAGS", "CCFLAGS", "LINKFLAGS"):
_cleanup_debug_flags(scope) _cleanup_debug_flags(scope)
env.Append(**{scope: debug_flags}) env.Append(**{scope: debug_flags})