mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2026-05-08 15:59:20 +02:00
Don't build tests with -Werror
-Werror should never be enabled unconditionally since warnings are specific to the toolchain used Newer or different toolchain may introduce not-yet-seen warnings, breaking the build for people who just want to build wayland-rotocols See https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/241 Signed-off-by: Nicolas Fella <nicolas.fella@kde.org>
This commit is contained in:
parent
c7b582cb71
commit
219054c0ef
1 changed files with 1 additions and 2 deletions
|
|
@ -108,7 +108,7 @@ foreach protocol_file : protocol_files
|
|||
'-std=c99',
|
||||
'-pedantic',
|
||||
'-Wall',
|
||||
'-Werror' ],
|
||||
],
|
||||
install: false,
|
||||
)
|
||||
test(test_name, pedantic_test_executable)
|
||||
|
|
@ -134,7 +134,6 @@ foreach protocol_file : protocol_files
|
|||
dependencies: libwayland,
|
||||
cpp_args: [
|
||||
'-Wall',
|
||||
'-Werror',
|
||||
],
|
||||
install: false,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue