summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/btanks/files/btanks-0.8.7479-scons-blows.patch')
-rw-r--r--games-action/btanks/files/btanks-0.8.7479-scons-blows.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/games-action/btanks/files/btanks-0.8.7479-scons-blows.patch b/games-action/btanks/files/btanks-0.8.7479-scons-blows.patch
new file mode 100644
index 000000000000..f54578345988
--- /dev/null
+++ b/games-action/btanks/files/btanks-0.8.7479-scons-blows.patch
@@ -0,0 +1,25 @@
+Don't force crappy flags.
+
+--- SConstruct.orig 2008-08-04 11:10:58.000000000 -0400
++++ SConstruct 2008-08-04 12:37:10.000000000 -0400
+@@ -90,18 +90,8 @@
+ #env.Append(CPPDEFINES = ['NDEBUG'])
+
+ else:
+- if env['gcc_visibility']:
+- env.Append(CCFLAGS=['-fvisibility=hidden']);
+- env.Append(CXXFLAGS=['-fvisibility-inlines-hidden', '-fvisibility=hidden']);
+- if debug:
+- env.Append(CCFLAGS=['-ggdb'])
+- env.Append(CPPFLAGS=['-ggdb'])
+- else:
+- env.Append(CCFLAGS=['-O3'])
+- env.Append(CPPFLAGS=['-O3'])
+-
+- env.Append(CPPFLAGS=['-Wall', '-pedantic', '-Wno-long-long', '-pipe', '-pthread'])
+- env.Append(CCFLAGS=['-Wall', '-pedantic', '-Wno-long-long', '-pipe', '-pthread'])
++ env.Append(CPPFLAGS=['-Wall', '-pedantic', '-Wno-long-long', '-pthread'])
++ env.Append(CCFLAGS=['-Wall', '-pedantic', '-Wno-long-long', '-pthread'])
+
+
+ conf_env = env.Clone()