From: Frantisek Sumsal Date: Fri, 22 May 2020 12:28:17 +0000 (+0200) Subject: meson: pass the optimization level to the fuzzer build X-Git-Tag: v246-rc1~303^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15886%2Fhead;p=thirdparty%2Fsystemd.git meson: pass the optimization level to the fuzzer build --- diff --git a/test/fuzz/meson.build b/test/fuzz/meson.build index 7d61e270fd9..b0305bdd0ec 100644 --- a/test/fuzz/meson.build +++ b/test/fuzz/meson.build @@ -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])