mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
meson: Always use -fno-strict-aliasing and -fno-strict-overflow
SPA does not respect the C strict aliasing rules at all, so any code that uses it must be built with -fno-strict-aliasing. Furthermore, there is code in SPA that compares pointers that point to different objects, so -fno-strict-overflow is also needed.
This commit is contained in:
parent
2bcc8589fa
commit
a09bf57944
2 changed files with 2 additions and 1 deletions
|
|
@ -81,6 +81,7 @@ pkgconfig = import('pkgconfig')
|
|||
common_flags = [
|
||||
'-fvisibility=hidden',
|
||||
'-fno-strict-aliasing',
|
||||
'-fno-strict-overflow',
|
||||
'-Werror=suggest-attribute=format',
|
||||
'-Wsign-compare',
|
||||
'-Wpointer-arith',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue