mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
test: build fuzzers with --werror if set
to catch issues like systemd/systemd#21996.
This commit is contained in:
committed by
Evgeny Vereshchagin
parent
5377ad4ea4
commit
7847b54814
@@ -7,7 +7,10 @@ sanitize_address_undefined = custom_target(
|
||||
project_source_root,
|
||||
'@OUTPUT@',
|
||||
'fuzzers',
|
||||
'-Dfuzz-tests=true -Db_lundef=false -Db_sanitize=address,undefined --optimization=@0@'.format(get_option('optimization')),
|
||||
'-Dfuzz-tests=true -Db_lundef=false -Db_sanitize=address,undefined --optimization=@0@ @1@'.format(
|
||||
get_option('optimization'),
|
||||
get_option('werror') ? '--werror' : ''
|
||||
),
|
||||
' '.join(cc.cmd_array()),
|
||||
cxx_cmd])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user