changeset 2106:432ccdfd2c2b

LTO on macOS as well
author Chris Cannam
date Thu, 15 Nov 2018 14:00:42 +0000
parents 02355af9d8f6
children 5decad11dee9
files noconfig.pri
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/noconfig.pri	Thu Nov 15 13:07:00 2018 +0000
+++ b/noconfig.pri	Thu Nov 15 14:00:42 2018 +0000
@@ -118,7 +118,8 @@
     INCLUDEPATH += $$PWD/sv-dependency-builds/osx/include
     LIBS += -L$$PWD/sv-dependency-builds/osx/lib -L$$PWD
 
-    QMAKE_CXXFLAGS_RELEASE += -O3 -ffast-math
+    QMAKE_CXXFLAGS_RELEASE += -O3 -ffast-math -flto
+    QMAKE_LFLAGS_RELEASE += -O3 -flto
 
     DEFINES += HAVE_COREAUDIO HAVE_VDSP
     LIBS += \