summaryrefslogtreecommitdiffstats
path: root/scons
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-09-08 09:59:01 +0100
committerJosé Fonseca <[email protected]>2011-09-08 09:59:01 +0100
commit2864f723d111810532fab7697ad7badf161f45ab (patch)
tree1ecd76944277ed0caf796f5c81adaac8e1ab0e44 /scons
parent221a04fa8e264fc3aaba17e11f1f97c166416da2 (diff)
scons: Use -g instead of -g3.
-g3 causes binaries to be 3x - 10x bigger, not only on MinGW w/ dwarf debugging info, but linux as well. Stick with -g, (which defaults to -g2), like autoconf does.
Diffstat (limited to 'scons')
-rwxr-xr-xscons/gallium.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index dc77904f06d..1c9c0ea32e4 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -363,7 +363,7 @@ def generate(env):
ccflags += ['-O3']
# Work around aliasing bugs - developers should comment this out
ccflags += ['-fno-strict-aliasing']
- ccflags += ['-g3']
+ ccflags += ['-g']
if env['build'] in ('checked', 'profile'):
# See http://code.google.com/p/jrfonseca/wiki/Gprof2Dot#Which_options_should_I_pass_to_gcc_when_compiling_for_profiling?
ccflags += [