mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 03:52:22 +02:00
meson: add -fno-trapping-math to default flags
It is safe to enable for mpv, we don't check or care about floating point exceptions. Allow the compiler to ignore them too.
This commit is contained in:
parent
3f84969b21
commit
d59a606cbd
@ -286,7 +286,8 @@ test_flags = ['-Wdisabled-optimization',
|
||||
'-Wno-switch',
|
||||
'-Wno-unused-parameter',
|
||||
'-fno-math-errno',
|
||||
'-fno-signed-zeros']
|
||||
'-fno-signed-zeros',
|
||||
'-fno-trapping-math']
|
||||
|
||||
flags += cc.get_supported_arguments(test_flags)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user