build: remove Clang workarounds

We have these disabled for all compilers anyways.
This commit is contained in:
Simon Ser 2021-01-11 16:13:05 +01:00
parent 4f80fab337
commit 248b8e647a
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -89,13 +89,6 @@ conf_data.set10('WLR_HAS_XCB_ERRORS', false)
conf_data.set10('WLR_HAS_XCB_ICCCM', false) conf_data.set10('WLR_HAS_XCB_ICCCM', false)
conf_data.set10('WLR_HAS_XDG_FOREIGN', false) conf_data.set10('WLR_HAS_XDG_FOREIGN', false)
# Clang complains about some zeroed initializer lists (= {0}), even though they
# are valid
if cc.get_id() == 'clang'
add_project_arguments('-Wno-missing-field-initializers', language: 'c')
add_project_arguments('-Wno-missing-braces', language: 'c')
endif
wayland_server = dependency('wayland-server', version: '>=1.18') wayland_server = dependency('wayland-server', version: '>=1.18')
wayland_client = dependency('wayland-client') wayland_client = dependency('wayland-client')
wayland_protos = dependency('wayland-protocols', version: '>=1.17') wayland_protos = dependency('wayland-protocols', version: '>=1.17')