Build: Make -Werror non-default

It seems that libbpf and bpftool have some places where -Werror triggers
when compiled with gcc. Let's make it non-default. Users can always
enable it locally if they want to by invoking `meson setup` with the
--werror flag.

Signed-off-by: David Vernet <void@manifault.com>
This commit is contained in:
David Vernet 2024-05-20 08:30:30 -05:00
parent c9bfc5f98b
commit 4b052c1489
No known key found for this signature in database
GPG Key ID: 59E4B86965C4F364

View File

@ -1,7 +1,6 @@
project('sched_ext schedulers', 'c',
version: '0.1.9',
license: 'GPL-2.0',
default_options: 'werror=true',)
license: 'GPL-2.0',)
if meson.version().version_compare('<1.2')
error('meson >= 1.2 required')