mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-23 04:12:06 +00:00
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:
parent
88f8603d62
commit
c6b22295b6
1 changed files with 3 additions and 2 deletions
|
@ -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 ) ):
|
||||||
|
|
Loading…
Reference in a new issue