X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=config.py;h=4c441393ff8fbff47d5832feca409414fff0f398;hp=f55b7bfa14860159c05ea6df74b155fc37d30b5b;hb=d3e3a8e063ad587ab92af39b9b93244b249df450;hpb=f961a547ff4230225315d027c5ce4845d5ba420d diff --git a/config.py b/config.py index f55b7bfa..4c441393 100644 --- a/config.py +++ b/config.py @@ -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 ) ):