Merge pull request #297 from multics69/fix-build-error-release

meson: fix a build error for libbpf at release build
This commit is contained in:
David Vernet 2024-05-19 08:49:50 -05:00 committed by GitHub
commit c9bfc5f98b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -61,7 +61,7 @@ endif
# These are for building libbpf and/or bpftool
if meson.get_compiler('c').get_id() == 'gcc'
extra_args = ['-Wno-sign-compare']
extra_args = ['-Wno-sign-compare', '-Wno-maybe-uninitialized']
else
extra_args = []
endif