0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-19 19:42:24 +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:
Kacper Michajłow 2024-06-05 19:31:52 +02:00
parent 3f84969b21
commit d59a606cbd

View File

@ -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)