Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

build: re-enable optimizations in release builds

Commit f961a54 fixes the q3map2 crash at startup so it's safe to enable
optimizations again.
  • Loading branch information...
commit d3e3a8e063ad587ab92af39b9b93244b249df450 1 parent f961a54
@bnoordhuis authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 config.py
View
5 config.py
@@ -247,9 +247,8 @@ def SetupEnvironment( self, env, config, useGtk = False, useGtkGL = False, useJP
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 ) ):
Please sign in to comment.
Something went wrong with that request. Please try again.