1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

meson: pass the optimization level to the fuzzer build

This commit is contained in:
Frantisek Sumsal 2020-05-22 14:28:17 +02:00
parent e9158b254c
commit 87666b31f9

View File

@ -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])