mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-22 20:02:42 +00:00
The release config for radiant target was busted on Linux in SCons build.
Problem was that the compile flags were overly aggressive and caused segfaults. They included: -O3 -Winline -ffast-math -fno-unsafe-math-optimizations -fno-strict-aliasing Changed to: -O2 -fno-strict-aliasing From my experience, -O3 is usually a bad idea. git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@476 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
parent
419204fe72
commit
9ef80305de
1 changed files with 2 additions and 2 deletions
|
@ -246,8 +246,8 @@ class Config:
|
|||
env.Append( CXXFLAGS = [ '-g' ] )
|
||||
env.Append( CPPDEFINES = [ '_DEBUG' ] )
|
||||
else:
|
||||
env.Append( CFLAGS = [ '-O3', '-Winline', '-ffast-math', '-fno-unsafe-math-optimizations', '-fno-strict-aliasing' ] )
|
||||
env.Append( CXXFLAGS = [ '-O3', '-Winline', '-ffast-math', '-fno-unsafe-math-optimizations','-fno-strict-aliasing' ] )
|
||||
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