From 88ac91a5b7a6c840ec10c00ef63f4dda82c21252 Mon Sep 17 00:00:00 2001 From: Kevin Kofler Date: Jun 11 2017 23:49:42 +0000 Subject: no-sse2 patch: Define V8_TARGET_ARCH_X87 for the V8 x87 build --- diff --git a/qtwebengine-opensource-src-5.9.0-no-sse2.patch b/qtwebengine-opensource-src-5.9.0-no-sse2.patch index 63c29ce..b7cf31b 100644 --- a/qtwebengine-opensource-src-5.9.0-no-sse2.patch +++ b/qtwebengine-opensource-src-5.9.0-no-sse2.patch @@ -2690,7 +2690,7 @@ diff -Nur qtwebengine-opensource-src-5.9.0/src/3rdparty/chromium/third_party/web #endif diff -Nur qtwebengine-opensource-src-5.9.0/src/3rdparty/chromium/v8/BUILD.gn qtwebengine-opensource-src-5.9.0-no-sse2/src/3rdparty/chromium/v8/BUILD.gn --- qtwebengine-opensource-src-5.9.0/src/3rdparty/chromium/v8/BUILD.gn 2017-05-18 16:51:44.000000000 +0200 -+++ qtwebengine-opensource-src-5.9.0-no-sse2/src/3rdparty/chromium/v8/BUILD.gn 2017-06-10 21:40:01.510564765 +0200 ++++ qtwebengine-opensource-src-5.9.0-no-sse2/src/3rdparty/chromium/v8/BUILD.gn 2017-06-12 01:48:06.425611303 +0200 @@ -73,6 +73,9 @@ # If true, doesn't compile debug symbols into v8base reducing the # size of the binary and increasing the speed of gdb. @@ -2747,7 +2747,17 @@ diff -Nur qtwebengine-opensource-src-5.9.0/src/3rdparty/chromium/v8/BUILD.gn qtw defines = [ "USING_V8_SHARED" ] } include_dirs = [ "include" ] -@@ -2274,7 +2281,7 @@ +@@ -331,6 +338,9 @@ + cflags += [ "/arch:SSE2" ] + } + } ++ if (v8_current_cpu == "x87") { ++ defines += [ "V8_TARGET_ARCH_X87" ] ++ } + if (v8_current_cpu == "x64") { + defines += [ "V8_TARGET_ARCH_X64" ] + if (is_win) { +@@ -2274,7 +2284,7 @@ defines = [] @@ -2756,7 +2766,7 @@ diff -Nur qtwebengine-opensource-src-5.9.0/src/3rdparty/chromium/v8/BUILD.gn qtw defines = [ "BUILDING_V8_BASE_SHARED" ] } -@@ -2364,7 +2371,7 @@ +@@ -2364,7 +2374,7 @@ configs = [ ":internal_config_base" ] @@ -2765,7 +2775,7 @@ diff -Nur qtwebengine-opensource-src-5.9.0/src/3rdparty/chromium/v8/BUILD.gn qtw defines = [ "BUILDING_V8_PLATFORM_SHARED" ] } -@@ -2507,7 +2514,26 @@ +@@ -2507,7 +2517,26 @@ } }