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:
@@ -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 ) ):
|
||||
|
||||
Reference in New Issue
Block a user