mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
build: Explicitly disable -Werror=strict-aliasing
Pipewire is designed to be built without strict aliasing enabled (as evidenced by already hard-coding `-fno-strict-aliasing`). In case people have strict aliasing warnings enabled by default in their build environment, explicitly disable errors from those. Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
parent
89a605b7a2
commit
88873e295b
1 changed files with 1 additions and 0 deletions
|
|
@ -81,6 +81,7 @@ pkgconfig = import('pkgconfig')
|
|||
common_flags = [
|
||||
'-fvisibility=hidden',
|
||||
'-fno-strict-aliasing',
|
||||
'-Wno-error=strict-aliasing',
|
||||
'-Werror=suggest-attribute=format',
|
||||
'-Wsign-compare',
|
||||
'-Wpointer-arith',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue