meson: add -fno-signed-zeros to default flags
It is safe to enable. Even FFmpeg enables this by default. https://github.com/FFmpeg/FFmpeg/blob/0415bb74c81ab0019e48bd2989ddf48d66918e9e/configure#L7521
This commit is contained in:
1 parent
ac5d27fce5
commit
3f84969b21
1 file changed
+2
-1
+2
-1
@@ -285,7 +285,8 @@ test_flags = ['-Wdisabled-optimization',
|
||||
'-Wno-sign-compare',
|
||||
'-Wno-switch',
|
||||
'-Wno-unused-parameter',
|
||||
'-fno-math-errno']
|
||||
'-fno-math-errno',
|
||||
'-fno-signed-zeros']
|
||||
|
||||
flags += cc.get_supported_arguments(test_flags)
|
||||
|
||||
|
||||
Reference in new issue
Block a user