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.
This commit is contained in:
@@ -409,7 +409,6 @@ possible_cc_flags = possible_common_cc_flags + [
|
||||
'-Werror=missing-declarations',
|
||||
'-Werror=missing-prototypes',
|
||||
'-fdiagnostics-show-option',
|
||||
'-ffast-math',
|
||||
'-fno-common',
|
||||
'-fno-strict-aliasing',
|
||||
'-fstack-protector',
|
||||
|
||||
Reference in New Issue
Block a user