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@gmail.com>
This commit is contained in:
Christophe Branchereau 2024-02-11 19:00:09 +01:00 committed by Filippos Karapetis
parent e6183f7cfe
commit 5469d13219

4
configure vendored
View File

@ -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"