From b81f008a18444971e8a84b7c6c08c37fb2d74531 Mon Sep 17 00:00:00 2001 From: Tvangeste Date: Sat, 10 Aug 2013 21:44:33 +0200 Subject: [PATCH] Tweaked compilation flags for MSVC++ --- goldendict.pro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/goldendict.pro b/goldendict.pro index 4720cb3a..f10af87d 100644 --- a/goldendict.pro +++ b/goldendict.pro @@ -41,6 +41,8 @@ win32 { VERSION = 1.5.0 # More complicated things cause errors during compilation under MSVC++ DEFINES += __WIN32 _CRT_SECURE_NO_WARNINGS QMAKE_CXXFLAGS += /wd4290 # silence the warning C4290: C++ exception specification ignored + QMAKE_LFLAGS_RELEASE += /LTCG /OPT:REF /OPT:ICF + QMAKE_CXXFLAGS_RELEASE += /GL LIBS += -lshell32 -luser32 -lsapi -lole32 -lhunspell LIBS += -L$${PWD}/winlibs/lib/msvc } else {