Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 80fe3c64d6dac33550b704c05b44a6e4 > files > 4

btanks-0.9.8083-8.mga5.src.rpm

--- SConstruct.orig	2011-06-25 10:38:50.000000000 -0500
+++ SConstruct	2011-06-25 10:41:52.000000000 -0500
@@ -60,7 +60,7 @@
 
 if (sys.platform != "win32" and env['gcc_visibility']): 
 	env.Append(CCFLAGS=['-fvisibility=hidden', '-DGCC_HASCLASSVISIBILITY'])
-	env.Append(CXXFLAGS=['-fvisibility-inlines-hidden', '-fvisibility=hidden', '-DGCC_HASCLASSVISIBILITY'])
+	env.Append(CXXFLAGS=['-fvisibility-inlines-hidden'])
 
 if sys.platform == "win32" and debug:
 	stl_port_debug = True
@@ -98,13 +98,6 @@
 	if debug:
 		env.Append(CCFLAGS=['-ggdb', '-D_FORTIFY_SOURCE=2'])
 		env.Append(CPPFLAGS=['-ggdb', '-D_FORTIFY_SOURCE=2'])
-	else: 
-		env.Append(CCFLAGS=['-O3'])
-		env.Append(CPPFLAGS=['-O3'])
-		
-	env.Append(CPPFLAGS=['-Wall', '-Wno-deprecated', '-pedantic', '-Wno-long-long', '-pipe', '-pthread'])
-	env.Append(CCFLAGS=['-Wall', '-Wno-deprecated', '-pedantic', '-Wno-long-long', '-pipe', '-pthread'])
-
 
 conf_env = env.Clone()
 conf = Configure(conf_env)