mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
build: re-enable optimizations in release builds
Commit f961a54
fixes the q3map2 crash at startup so it's safe to enable
optimizations again.
This commit is contained in:
parent
f961a547ff
commit
d3e3a8e063
1 changed files with 2 additions and 3 deletions
|
@ -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 ) ):
|
||||
|
|
Loading…
Reference in a new issue