[cef][wam] Make the recipe work with official chromium release tarballs
[AGL/meta-agl-demo.git] / recipes-wam / cef / files / chromium / 0008-meta-browser-Pass-no-static-libstdc-to-gen.py.patch
1 From f4d754e203e4968f4c9f68f00321fa0f1c942139 Mon Sep 17 00:00:00 2001
2 From: Maksim Sisov <msisov@igalia.com>
3 Date: Thu, 19 Dec 2019 15:47:53 +0200
4 Subject: [PATCH 08/33] [meta-browser] Pass no-static-libstdc++ to gen.py
5
6 Upstream-Status: Inappropriate
7
8 GN requires libstdc++.a to be installed on host systems by default,
9 which is often not very common, for no particular reason.
10
11 Signed-off-by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
12 Signed-off-by: Maksim Sisov <msisov@igalia.com>
13 ---
14  tools/gn/bootstrap/bootstrap.py | 1 +
15  1 file changed, 1 insertion(+)
16
17 diff --git a/tools/gn/bootstrap/bootstrap.py b/tools/gn/bootstrap/bootstrap.py
18 index caf736b28946d..c5d7c428ed68a 100755
19 --- a/tools/gn/bootstrap/bootstrap.py
20 +++ b/tools/gn/bootstrap/bootstrap.py
21 @@ -113,6 +113,7 @@ def main(argv):
22    cmd = [
23        sys.executable,
24        os.path.join(GN_ROOT, 'build', 'gen.py'),
25 +      '--no-static-libstdc++',
26        '--no-last-commit-position',
27        '--out-path=' + gn_build_dir,
28    ]
29 -- 
30 2.42.1
31