diff noconfig.pri @ 6:4b4c449932b3

At least one plugin (Segmentino) is producing incorrect results when compiled with fast-math on at least one platform (Linux). If we really want fast-math for any given plugin library, let's make it opt-in for that library rather than opt-out for all of them.
author Chris Cannam
date Mon, 18 Nov 2019 09:57:45 +0000
parents eaa4410df4cd
children 0d62a4f8946f
line wrap: on
line diff
--- a/noconfig.pri	Wed Nov 13 15:21:45 2019 +0000
+++ b/noconfig.pri	Mon Nov 18 09:57:45 2019 +0000
@@ -18,8 +18,6 @@
     }
 
     DEFINES += NOMINMAX _USE_MATH_DEFINES
-
-    QMAKE_CXXFLAGS_RELEASE += -fp:fast
 }
 
 macx* {
@@ -31,12 +29,12 @@
 
     INCLUDEPATH += /usr/local/opt/boost/include
 
-    QMAKE_CXXFLAGS_RELEASE += -O3 -ffast-math -flto
+    QMAKE_CXXFLAGS_RELEASE += -O3 -flto
     QMAKE_LFLAGS_RELEASE += -O3 -flto
 }
 
 linux* {
-    QMAKE_CXXFLAGS_RELEASE += -O3 -ffast-math
+    QMAKE_CXXFLAGS_RELEASE += -O3
     QMAKE_LFLAGS_RELEASE += -O3
 }