]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
Removing optimization GCC flags because q3map2 crashes on Ubuntu 10.10 32 bit,
authorrambetter <rambetter>
Sat, 23 Apr 2011 22:23:31 +0000 (22:23 +0000)
committerrambetter <rambetter>
Sat, 23 Apr 2011 22:23:31 +0000 (22:23 +0000)
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

config.py

index 91d0c88a322715391d6266548553bd25ac11c714..fde0a3c171975034919713bacf9a8c0c7655b101 100644 (file)
--- 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 ) ):