Module: Mesa Branch: master Commit: 2864f723d111810532fab7697ad7badf161f45ab URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2864f723d111810532fab7697ad7badf161f45ab
Author: José Fonseca <jfons...@vmware.com> Date: Thu Sep 8 09:59:01 2011 +0100 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. --- scons/gallium.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scons/gallium.py b/scons/gallium.py index dc77904..1c9c0ea 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 += [ _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit