meson: pass the optimization level to the fuzzer build
This commit is contained in:
parent
e9158b254c
commit
87666b31f9
|
@ -7,7 +7,8 @@ sanitize_address_undefined = custom_target(
|
||||||
project_source_root,
|
project_source_root,
|
||||||
'@OUTPUT@',
|
'@OUTPUT@',
|
||||||
'fuzzers',
|
'fuzzers',
|
||||||
'-Db_lundef=false -Db_sanitize=address,undefined',
|
'-Db_lundef=false -Db_sanitize=address,undefined ' +
|
||||||
|
'--optimization=@0@'.format(get_option('optimization')),
|
||||||
' '.join(cc.cmd_array()),
|
' '.join(cc.cmd_array()),
|
||||||
cxx_cmd])
|
cxx_cmd])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue