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 discussionpull/513/head
parent
1d2b4ed8e9
commit
804a3ca72a
1 changed files with 3 additions and 1 deletions
Loading…
Reference in new issue