meson.build: don't error on deprecated declarations with -Werror

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1203>
This commit is contained in:
Peter Hutterer 2025-05-16 20:45:49 +10:00
parent f653ce0a22
commit 66d32803d3

View file

@ -47,6 +47,7 @@ libinput_so_version = '@0@.@1@.@2@'.format((libinput_lt_c - libinput_lt_a),
# Compiler setup
cc = meson.get_compiler('c')
cflags = [
'-Wno-error=deprecated-declarations',
'-Wno-unused-parameter',
'-Wmissing-prototypes',
'-Wstrict-prototypes',