Adding -rdynamic to debug build flags

This commit is contained in:
Dennis Luxen 2011-07-28 12:58:31 +00:00
parent 905b0331b8
commit 39fe92ebc4

View File

@ -76,7 +76,7 @@ else: #Mac OS X
else:
env.Append(CPPPATH = ['/usr/include', '/usr/include/include', '/usr/include/libxml2/'])
if GetOption('buildconfiguration') == 'debug':
env.Append(CCFLAGS = ' -Wall -g3')
env.Append(CCFLAGS = ' -Wall -g3 -rdynamic')
else:
env.Append(CCFLAGS = ' -O3 -DNDEBUG -march=native')
#print "Compiling with: ", env['CXX']