no-sse2 patch: Define V8_TARGET_ARCH_X87 for the V8 x87 build

This commit is contained in:
Kevin Kofler 2017-06-12 01:49:42 +02:00
parent 519e5a6cad
commit 88ac91a5b7
1 changed files with 14 additions and 4 deletions

View File

@ -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 @@
}
}