meson: drop -ffast-math
authorLennart Poettering <lennart@poettering.net>
Mon, 15 Nov 2021 16:55:59 +0000 (17:55 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 15 Nov 2021 21:24:33 +0000 (22:24 +0100)
commit394ac84df9ecc1556b922c1161503ef74962fe6a
tree69f1840cfce24e5bfb4fa0aa5394b991fb0d5ea3
parente6ace91eb7050f2dec21ffb01822dd00d56d4b75
meson: drop -ffast-math

After reading https://simonbyrne.github.io/notes/fastmath/ I think we
should drop -ffast-math. The JSON code actually looks for NaN, so the
fact it becomes unreliable kinda sucks.

Moreover, we don't do any number crunching. We use floating point fields
only sporadical for trivial math. Hence the optimization is entirely
unnecessary.
meson.build