mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
meson: pass the optimization level to the fuzzer build
This commit is contained in:
@@ -7,7 +7,8 @@ sanitize_address_undefined = custom_target(
|
||||
project_source_root,
|
||||
'@OUTPUT@',
|
||||
'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()),
|
||||
cxx_cmd])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user