[Scummvm-git-logs] scummvm master -> 48675ed9cf325647699319459844272d678b4fa8

mikrosk noreply at scummvm.org
Tue Jan 16 21:59:48 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:
48675ed9cf CONFIGURE: Don't use -ffast-math in for m68k-atari-mint*


Commit: 48675ed9cf325647699319459844272d678b4fa8
    https://github.com/scummvm/scummvm/commit/48675ed9cf325647699319459844272d678b4fa8
Author: Miro Kropacek (miro.kropacek at gmail.com)
Date: 2024-01-16T22:59:35+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 5b4f0d44d2a..6d05dd7f013 100755
--- a/configure
+++ b/configure
@@ -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




More information about the Scummvm-git-logs mailing list