summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2014-07-14 11:22:20 -0700
committerIan Romanick <[email protected]>2014-07-29 15:49:27 -0700
commit66decc7efa08ae9c94e4bd11038cfe8b3132d554 (patch)
treef414f52cd8efb1eeb25116db6d0b3056d3d3bf19 /src/glsl
parenta62354a9877e327c44ce4f0898359b4a3db41727 (diff)
configure: Don't override user -g or -O options for debug builds
Principle of least surprise: --enable-debug should enable debugging. Ages ago, Mesa's build system only added -g in dri-debug builds (yay for the static Makefiles). If you forgot to change it (or wrap the build with custom scripts), you would often be disappointed when trying to gdb Mesa bugs. New developers, that may not yet have custom scripts, will have this same issue. I think we should enable experienced developers to do what they want, and make things easier for new developers. I already pass '-ggdb3 -O1' or '-ggdb3 -Og' for CFLAGS, and I don't want configure to change them for me. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glsl')
0 files changed, 0 insertions, 0 deletions