[Scummvm-git-logs] scummvm branch-2-8 -> ff36cc64cc996a966bb2d878da81f8a5eac51836
mikrosk
noreply at scummvm.org
Tue Jan 16 22:00:24 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
ff36cc64cc CONFIGURE: Don't use -ffast-math in for m68k-atari-mint*
Commit: ff36cc64cc996a966bb2d878da81f8a5eac51836
https://github.com/scummvm/scummvm/commit/ff36cc64cc996a966bb2d878da81f8a5eac51836
Author: Miro Kropacek (miro.kropacek at gmail.com)
Date: 2024-01-16T23:00:05+01:00
Commit Message:
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.
Changed paths:
configure
diff --git a/configure b/configure
index 6b6a280211c..b72a974f5e2 100755
--- a/configure
+++ b/configure
@@ -3723,7 +3723,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
More information about the Scummvm-git-logs
mailing list