Files
MINGW-packages/mingw-w64-qtwebkit/0004-msvc-bug-not-mingw.patch
2017-02-07 22:06:07 +03:00

12 lines
604 B
Diff

--- qtwebkit-tp5/Source/JavaScriptCore/jsc.cpp.orig 2017-02-07 21:14:51.788349000 +0300
+++ qtwebkit-tp5/Source/JavaScriptCore/jsc.cpp 2017-02-07 21:15:15.280692700 +0300
@@ -1710,7 +1710,7 @@
fesetenv( &env );
#endif
-#if OS(WINDOWS) && (defined(_M_X64) || defined(__x86_64__))
+#if OS(WINDOWS) && (defined(_M_X64) || defined(__x86_64__)) && !COMPILER(GCC)
// The VS2013 runtime has a bug where it mis-detects AVX-capable processors
// if the feature has been disabled in firmware. This causes us to crash
// in some of the math functions. For now, we disable those optimizations