diff options
author | Jim Mussared <jim.mussared@gmail.com> | 2020-04-03 12:55:14 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-04-13 21:20:32 +1000 |
commit | 45cf76465c5fae8349aa65b78328d38ecab7308d (patch) | |
tree | 519129cb2bf0994b798ac27f6559f41a097752d2 /py | |
parent | f66c9895169090e05ba5d0d9fc9b191dc072c96f (diff) |
unix: Fix behaviour of COPT/NDEBUG for unix variants.
Based on eg 1e6fd9f2b4072873f5d6846b19b2ef0ccc5e4e52, it's understood that
the intention for unix builds is that regular builds disable assert, but
the coverage build should set -O0 and enable asserts.
It looks like this didn't work (even before variants were introduced, eg at
v1.11) -- coverage always built with -Os and -DNDEBUG.
This commit makes it possible for variants to have finer-grained control
over COPT flags, and enables assert() and -O0 on coverage builds.
Other variants already match the defaults so they have been updated.
Diffstat (limited to 'py')
0 files changed, 0 insertions, 0 deletions