build: re-enable optimizations in release builds

Commit f961a54 fixes the q3map2 crash at startup so it's safe to enable
optimizations again.
This commit is contained in:
Ben Noordhuis 2012-03-17 16:13:32 +01:00
parent f961a547ff
commit d3e3a8e063

View file

@ -247,9 +247,8 @@ class Config:
env.Append( CXXFLAGS = [ '-g' ] )
env.Append( CPPDEFINES = [ '_DEBUG' ] )
else:
# '-O' causes q3map2 errors on Ubuntu 10.10 32 bit.
env.Append( CFLAGS = [ ] )
env.Append( CXXFLAGS = [ ] )
env.Append( CFLAGS = [ '-O2', '-fno-strict-aliasing' ] )
env.Append( CXXFLAGS = [ '-O2', '-fno-strict-aliasing' ] )
def CheckoutOrUpdate( self, svnurl, path ):
if ( os.path.exists( path ) ):