circuitpython/ports/unix/variants
Jim Mussared 45cf76465c unix: Fix behaviour of COPT/NDEBUG for unix variants.
Based on eg 1e6fd9f2b4, 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.
2020-04-13 21:20:32 +10:00
..
coverage unix: Fix behaviour of COPT/NDEBUG for unix variants. 2020-04-13 21:20:32 +10:00
dev ports: Enable error text compression for various ports, but not all. 2020-04-05 15:02:06 +10:00
fast unix: Fix behaviour of COPT/NDEBUG for unix variants. 2020-04-13 21:20:32 +10:00
freedos unix/Makefile: Reserve CFLAGS_EXTRA/LDFLAGS_EXTRA for external use. 2020-01-24 11:51:21 +11:00
minimal unix: Fix behaviour of COPT/NDEBUG for unix variants. 2020-04-13 21:20:32 +10:00
nanbox unix: Rename unix binaries to micropython-variant (not _variant). 2020-01-12 10:37:40 +11:00
standard unix/Makefile: Allow to install all variants of the executable. 2020-02-16 23:37:40 +11:00