Package: btanks / 0.9.8083-8

remove_default_optimizations.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
From: Miriam Ruiz <little_miry@yahoo.es>
Subject: Remove default optimizations

--- btanks-0.9.8083.orig/SConstruct
+++ btanks-0.9.8083/SConstruct
@@ -98,9 +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'])