From: rambetter Date: Sat, 23 Apr 2011 22:23:31 +0000 (+0000) Subject: Removing optimization GCC flags because q3map2 crashes on Ubuntu 10.10 32 bit, X-Git-Tag: xonotic-v0.7.0~16^2~11^2~7 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c6b22295b670f9c50b939a7c66473d656af5a776;p=xonotic%2Fnetradiant.git Removing optimization GCC flags because q3map2 crashes on Ubuntu 10.10 32 bit, ever since certain updates in that distribution. This fixes the q3map2 crash, but no more optimizations. git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@486 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- diff --git a/config.py b/config.py index 91d0c88a..fde0a3c1 100644 --- a/config.py +++ b/config.py @@ -247,8 +247,9 @@ class Config: env.Append( CXXFLAGS = [ '-g' ] ) env.Append( CPPDEFINES = [ '_DEBUG' ] ) else: - env.Append( CFLAGS = [ '-O2', '-fno-strict-aliasing' ] ) - env.Append( CXXFLAGS = [ '-O2', '-fno-strict-aliasing' ] ) + # '-O' causes q3map2 errors on Ubuntu 10.10 32 bit. + env.Append( CFLAGS = [ ] ) + env.Append( CXXFLAGS = [ ] ) def CheckoutOrUpdate( self, svnurl, path ): if ( os.path.exists( path ) ):