diff options
Diffstat (limited to 'recipes-qt/qt5/qtwebengine/chromium')
-rw-r--r-- | recipes-qt/qt5/qtwebengine/chromium/0012-chromium-Link-v8-with-libatomic-on-x86.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0012-chromium-Link-v8-with-libatomic-on-x86.patch b/recipes-qt/qt5/qtwebengine/chromium/0012-chromium-Link-v8-with-libatomic-on-x86.patch new file mode 100644 index 00000000..3bf0c5eb --- /dev/null +++ b/recipes-qt/qt5/qtwebengine/chromium/0012-chromium-Link-v8-with-libatomic-on-x86.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 5b4b896c1c6c79cc7c870a398acf1baf4b6bec7b Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 1 Feb 2020 12:17:23 -0800 | ||
4 | Subject: [PATCH] chromium: Link v8 with libatomic on x86 | ||
5 | |||
6 | Fixes | ||
7 | | v8_base_without_compiler_jumbo_47.cc:(.text._ZN2v88internal4wasm12_GLOBAL__N_123ExecuteCompilationUnitsERKSt10shared_ptrINS2_22BackgroundCompileTokenEEPNS0_8CountersEiNS2_19CompileBaselineOnlyE+0x29a): undefined reference to `__atomic_l | ||
8 | oad' | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | chromium/v8/BUILD.gn | 3 ++- | ||
14 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/chromium/v8/BUILD.gn b/chromium/v8/BUILD.gn | ||
17 | index e21400265dd..7e56609b9da 100644 | ||
18 | --- a/chromium/v8/BUILD.gn | ||
19 | +++ b/chromium/v8/BUILD.gn | ||
20 | @@ -3310,7 +3310,8 @@ v8_source_set("v8_base_without_compiler") { | ||
21 | if (v8_current_cpu == "mips" || v8_current_cpu == "mipsel" || | ||
22 | v8_current_cpu == "mips64" || v8_current_cpu == "mips64el" || | ||
23 | v8_current_cpu == "ppc" || v8_current_cpu == "ppc64" || | ||
24 | - v8_current_cpu == "s390" || v8_current_cpu == "s390x") { | ||
25 | + v8_current_cpu == "s390" || v8_current_cpu == "s390x" || | ||
26 | + v8_current_cpu == "x86") { | ||
27 | libs = [ "atomic" ] | ||
28 | } | ||
29 | |||
30 | -- | ||
31 | 2.25.0 | ||
32 | |||