diff --git a/meson.build b/meson.build index 494d25652..8bdccdc16 100644 --- a/meson.build +++ b/meson.build @@ -20,8 +20,8 @@ thread_dep = dependency('threads') cc = meson.get_compiler('c') -has_stringop_overflow = cc.has_argument('-Wstringop-overflow') -has_array_bounds = cc.has_argument('-Warray-bounds') +has_stringop_overflow = cc.has_argument('-Wstringop-overflow=0') +has_array_bounds = cc.has_argument('-Warray-bounds=0') has__kernel_rwf_t = cc.has_type('__kernel_rwf_t', prefix: '#include ')