mirror of
https://github.com/frida/frida-python
synced 2026-06-08 14:16:17 +00:00
Use Meson's b_ndebug option to decide on checks
This commit is contained in:
+2
-1
@@ -6,7 +6,8 @@ host_os = host_os_family
|
||||
cc = meson.get_compiler('c')
|
||||
|
||||
frida_component_cflags = []
|
||||
if get_option('optimization') in ['2', '3', 's'] and not get_option('debug')
|
||||
ndebug = get_option('b_ndebug')
|
||||
if ndebug == 'true' or (ndebug == 'if-release' and not get_option('debug'))
|
||||
frida_component_cflags += [
|
||||
'-DG_DISABLE_ASSERT',
|
||||
'-DG_DISABLE_CHECKS',
|
||||
|
||||
Reference in New Issue
Block a user