shithub: dav1d

Download patch

ref: ce6f1f77eb29bf96f946e9529ca5caa29a898f95
parent: 89c3f53fa5991fb03894afc2ac72592d52a33c3f
author: Marvin Scholz <[email protected]>
date: Fri Oct 19 14:36:53 EDT 2018

meson: Disable asserts in release builds

Sets the meson b_ndebug option to default to if-release,
so that asserts are disabled in release builds.

--- a/meson.build
+++ b/meson.build
@@ -26,7 +26,8 @@
     version: '0.0.1',
     default_options: ['c_std=c99',
                       'warning_level=2',
-                      'buildtype=release'],
+                      'buildtype=release',
+                      'b_ndebug=if-release'],
     meson_version: '>= 0.47.0')
 
 dav1d_version_array    = meson.project_version().split('.')