mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
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.
This commit is contained in:
parent
221a04fa8e
commit
2864f723d1
1 changed files with 1 additions and 1 deletions
|
|
@ -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 += [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue