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
This commit is contained in:
rambetter 2011-04-23 22:23:31 +00:00
parent 88f8603d62
commit c6b22295b6

View file

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