]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
meson: disable assertions
authorTomas Krizek <tomas.krizek@nic.cz>
Thu, 10 Jun 2021 09:28:49 +0000 (11:28 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Thu, 10 Jun 2021 10:54:04 +0000 (12:54 +0200)
Make sure assertions are turned off - we use our own mechanism
(implemented in !1146), so this mostly affects foreign code, like Knot
DNS headers.

https://gitlab.nic.cz/knot/knot-resolver/-/merge_requests/1146#note_203044

meson.build

index f405fa33e82cd34fd67c6f3facc28e04bf1f9141..c20d132e46dae8c33f92987e77ed0d140abe2f51 100644 (file)
@@ -5,7 +5,7 @@ project(
   ['c', 'cpp'],
   license: 'GPLv3+',
   version: '5.3.2',
-  default_options: ['c_std=gnu11', 'b_ndebug=false'],
+  default_options: ['c_std=gnu11', 'b_ndebug=true'],
   meson_version: '>=0.49',
 )