basic architecture for game configuration at runtime. writes out a .game, no sanity...
[xonotic/netradiant.git] / config.py
index 9b7e370db6f944b32b04540b8942448c0041e80d..107a04c7eb85f210813df82f9281df6899a49c05 100644 (file)
--- a/config.py
+++ b/config.py
@@ -152,9 +152,11 @@ class Config:
                env.Append( CPPDEFINES = [ 'Q_NO_STLPORT' ] )
                if ( config == 'debug' ):
                        env.Append( CFLAGS = [ '-g' ] )
+                       env.Append( CXXFLAGS = [ '-g' ] )
                        env.Append( CPPDEFINES = [ '_DEBUG' ] )                         
                else:
                        env.Append( CFLAGS = [ '-O3', '-Winline', '-ffast-math', '-fno-unsafe-math-optimizations' ] )
+                       env.Append( CXXFLAGS = [ '-O3', '-Winline', '-ffast-math', '-fno-unsafe-math-optimizations' ] )
                        #env.Append( CFLAGS = [ '-march=pentium3' ] )
 
 #              env.Append( LINKFLAGS = [ '-m32' ] )