mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Swap out -ffast-math for a safe subset of optimization flags (#9682)
It caused more trouble than its worth. fixes #3943, fixes #5330
This commit is contained in:
parent
e8ac5a31cf
commit
5cbe8437a8
2 changed files with 9 additions and 1 deletions
|
@ -32,6 +32,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include "util/timetaker.h"
|
||||
#include "profiler.h"
|
||||
|
||||
#ifdef __FAST_MATH__
|
||||
#warning "-ffast-math is known to cause bugs in collision code, do not use!"
|
||||
#endif
|
||||
|
||||
struct NearbyCollisionInfo {
|
||||
NearbyCollisionInfo(bool is_ul, bool is_obj, int bouncy,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue