Skip to content

Commit ad613b2

Browse files
author
Clement Champetier
committed
SConstruct: add flag in debug mode
To enable breakpoint with gdb.
1 parent 3e97128 commit ad613b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SConstruct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ envPy.Append(
162162
if mymode == "release":
163163
env.Append(CCFLAGS = ['-O3'])
164164
if mymode == "debug":
165-
env.Append(CCFLAGS = ['-pg'])
165+
env.Append(CCFLAGS = ['-pg', '-g'])
166166

167167
Export( "env" )
168168
Export( "envJava" )

0 commit comments

Comments
 (0)