mirror of
https://github.com/irssi/irssi.git
synced 2025-04-25 20:41:23 -05:00
update fuzzer flags
This commit is contained in:
parent
9ff224d05d
commit
51190f69b2
11
meson.build
11
meson.build
@ -456,14 +456,15 @@ if get_option('buildtype').contains('debug')
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if want_fuzzer
|
if want_fuzzer
|
||||||
if not cc.has_argument('-fsanitize=fuzzer-no-link')
|
if fuzzer_lib.startswith('-fsanitize=fuzzer')
|
||||||
error('compiler does not support -fsanitize=fuzzer-no-link, try clang?')
|
if not cc.has_argument('-fsanitize=fuzzer-no-link')
|
||||||
|
error('compiler does not support -fsanitize=fuzzer-no-link, try clang?')
|
||||||
|
endif
|
||||||
|
add_project_arguments('-fsanitize=fuzzer-no-link', language : 'c')
|
||||||
endif
|
endif
|
||||||
add_project_arguments('-fsanitize=fuzzer-no-link', language : 'c')
|
if fuzzer_link_language != 'c'
|
||||||
if (fuzzer_link_language != 'c')
|
|
||||||
add_languages(fuzzer_link_language)
|
add_languages(fuzzer_link_language)
|
||||||
endif
|
endif
|
||||||
add_project_link_arguments('-fsanitize=fuzzer-no-link', language : fuzzer_link_language)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
##############
|
##############
|
||||||
|
Loading…
x
Reference in New Issue
Block a user