From 5e49ca912a34119608f2abe3570f6d314c1da70f Mon Sep 17 00:00:00 2001 From: Felix Xing Date: Tue, 21 Jan 2025 12:50:28 -0500 Subject: [PATCH] remove finite-math-only flag --- meson.build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 69aa50e..e1731d4 100644 --- a/meson.build +++ b/meson.build @@ -85,7 +85,12 @@ if cc.get_id() == 'msvc' ] else test_cflags = [ - '-ffast-math', + '-fno-math-errno', + '-funsafe-math-optimizations', + # '-ffinite-math-only', + '-fno-rounding-math', + '-fno-signaling-nans', + '-fcx-limited-range', '-fstrict-aliasing', '-Wpointer-arith', '-Wstrict-prototypes',