Do not append debug flags to linker stage

This commit is contained in:
Ivan Kravets
2019-09-30 13:27:34 +03:00
parent 3dcf1784fb
commit 2137eb1794

View File

@ -322,7 +322,7 @@ def ConfigureDebugFlags(env):
env.Append(CPPDEFINES=["__PLATFORMIO_BUILD_DEBUG__"])
debug_flags = ["-Og", "-g3", "-ggdb3"]
for scope in ("ASFLAGS", "CCFLAGS", "LINKFLAGS"):
for scope in ("ASFLAGS", "CCFLAGS",):
_cleanup_debug_flags(scope)
env.Append(**{scope: debug_flags})