summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Funk <kfunk@kde.org>2015-08-12 18:08:00 +0200
committerKevin Funk <kevin.funk@kdab.com>2015-08-14 06:32:21 +0000
commitc117978bb8781134f74dfd0313c00476d3df6364 (patch)
tree593dbdd00b659003fcfdd646cf2b6b974a5dba90
parent297e6454eebfabda245e59b6becbe5e0ab42374d (diff)
WebCore: Make compile with MSVC2015
Without this patch, i.e. without removing -GL from linker flags, WebCore fails to link. Checked with MSVC 2015 RTM (latest version right now). Change-Id: If36ea0e7d8f6e2e6026033240e547e90be70d335 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
-rw-r--r--Source/WebCore/WebCore.pri2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/WebCore.pri b/Source/WebCore/WebCore.pri
index 4e5e13cba..ffe389d46 100644
--- a/Source/WebCore/WebCore.pri
+++ b/Source/WebCore/WebCore.pri
@@ -289,7 +289,7 @@ win32 {
}
# Remove whole program optimizations due to miscompilations
-win32-msvc2005|win32-msvc2008|win32-msvc2010|win32-msvc2012|win32-msvc2013|wince* {
+win32-msvc*|wince* {
QMAKE_CFLAGS_LTCG -= -GL
QMAKE_CXXFLAGS_LTCG -= -GL
}