diff options
author | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2016-04-08 00:46:45 +0530 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-04-07 22:16:45 +0300 |
commit | 804a3ca72a6b65b3abeba18a292ea592654db03c (patch) | |
tree | 64abd2b765fa4c4934fb4be001306be134f34bad /mesonbuild/backend/backends.py | |
parent | 1d2b4ed8e9c2a8aec792ca302adf8ef4ac485273 (diff) | |
download | meson-804a3ca72a6b65b3abeba18a292ea592654db03c.zip meson-804a3ca72a6b65b3abeba18a292ea592654db03c.tar.gz meson-804a3ca72a6b65b3abeba18a292ea592654db03c.tar.bz2 |
compilers: Debug optimization level should be -O0 (#509)
Without any -O options, gcc does not generate properly debuggable code.
> With no -O option at all, some compiler passes that collect information useful
> for debugging do not run at all
gcc recommends -Og, but that isn't supported by clang, so we use -O0
See https://github.com/mesonbuild/meson/pull/509 for more discussion
Diffstat (limited to 'mesonbuild/backend/backends.py')
0 files changed, 0 insertions, 0 deletions