[Scummvm-git-logs] scummvm master -> 5469d13219e4b2360a634118b77a5f1c5b0837ba

bluegr noreply at scummvm.org
Sun Feb 11 23:45:40 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:
5469d13219 OPENDINGUX: remove -ffast-math


Commit: 5469d13219e4b2360a634118b77a5f1c5b0837ba
    https://github.com/scummvm/scummvm/commit/5469d13219e4b2360a634118b77a5f1c5b0837ba
Author: Christophe Branchereau (cbranchereau at gmail.com)
Date: 2024-02-12T01:45:37+02:00

Commit Message:
OPENDINGUX: remove -ffast-math

While this flag did not exhibit known issues on the initial opendingux port,
it is rather unsafe and hard to guarantee it won't in future builds.

Remove it for better stability.

Signed-off-by: Christophe Branchereau <cbranchereau at gmail.com>

Changed paths:
    configure


diff --git a/configure b/configure
index 9893bea8713..b0d5d200cc9 100755
--- a/configure
+++ b/configure
@@ -3859,8 +3859,8 @@ if test -n "$_host"; then
 			_sysroot=`$CXX --print-sysroot`
 			_sdlpath=$_sysroot/usr/bin
 			append_var DEFINES  "-DDINGUX -DOPENDINGUX -DREDUCE_MEMORY_USAGE -DUNCACHED_PLUGINS"
-			append_var CXXFLAGS "-ffast-math -fdata-sections -ffunction-sections -mplt"
-			append_var LDFLAGS  "-ffast-math -fdata-sections -ffunction-sections -mplt"
+			append_var CXXFLAGS "-fdata-sections -ffunction-sections -mplt"
+			append_var LDFLAGS  "-fdata-sections -ffunction-sections -mplt"
 			append_var LDFLAGS  "-O3 -Wl,--as-needed,--gc-sections"
 			if [ x"$_dynamic_modules" != xyes ]; then
 				append_var CXXFLAGS "-mno-shared"




More information about the Scummvm-git-logs mailing list