forked from platformio/platformio-core
Use -ggdb3 instead of -ggdb by default
This commit is contained in:
@ -271,7 +271,7 @@ def PioClean(env, clean_dir):
|
|||||||
|
|
||||||
def ProcessDebug(env):
|
def ProcessDebug(env):
|
||||||
if not env.subst("$PIODEBUGFLAGS"):
|
if not env.subst("$PIODEBUGFLAGS"):
|
||||||
env.Replace(PIODEBUGFLAGS=["-Og", "-g3", "-ggdb"])
|
env.Replace(PIODEBUGFLAGS=["-Og", "-g3", "-ggdb3"])
|
||||||
env.Append(
|
env.Append(
|
||||||
BUILD_FLAGS=env.get("PIODEBUGFLAGS", []),
|
BUILD_FLAGS=env.get("PIODEBUGFLAGS", []),
|
||||||
BUILD_UNFLAGS=["-Os", "-O0", "-O1", "-O2", "-O3"])
|
BUILD_UNFLAGS=["-Os", "-O0", "-O1", "-O2", "-O3"])
|
||||||
|
Reference in New Issue
Block a user