fix segfault with optimized code; initialize TSRM stuff

This commit is contained in:
Meredith L. Patterson 2013-12-18 14:25:52 +01:00
parent b9ce12f3b6
commit f9eebda673
2 changed files with 11 additions and 3 deletions

View file

@ -69,7 +69,7 @@ dbg = env.Clone(VARIANT='debug')
dbg.Append(CCFLAGS=['-g'])
opt = env.Clone(VARIANT='opt')
opt.Append(CCFLAGS="-O3")
opt.Append(CCFLAGS=["-O3"])
if GetOption("variant") == 'debug':
env = dbg