CONFIGURE: Don't use -ffast-math in for m68k-atari-mint*

This breaks calculation of sceneObject->walkCount in
engines/bbvs/walk.cpp (and possibly at other places, too).

Added "-fno-unsafe-math-optimizations" to prevent reciprocal
approximations which break fixed point delta calculations.
This commit is contained in:
Miro Kropacek 2024-01-16 22:56:13 +01:00
parent b89b946e7d
commit 48675ed9cf

2
configure vendored
View File

@ -3724,7 +3724,7 @@ if test -n "$_host"; then
# --enable-release, --enable-optimizations
append_var CXXFLAGS "-fomit-frame-pointer"
append_var CXXFLAGS "-fno-exceptions"
append_var CXXFLAGS "-ffast-math"
append_var CXXFLAGS "-ffast-math -fno-unsafe-math-optimizations"
fi
# auto -> no