Turn on the asserts in ringbuf for debug builds

This commit is contained in:
Kovid Goyal
2020-12-11 21:26:15 +05:30
parent bffe0f4a6c
commit 4cf5bd8d70
2 changed files with 5 additions and 0 deletions

View File

@@ -304,6 +304,9 @@ def init_env(
cflags.append('-flto')
ldflags.append('-flto')
if debug:
cflags.append('-DKITTY_DEBUG_BUILD')
if profile:
cppflags.append('-DWITH_PROFILER')
cflags.append('-g3')