mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00: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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user