Gentoo Archives: gentoo-commits

From: "Raul Porcel (armin76)" <armin76@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/chromium/files: chromium-drop_armel_m32.patch
Date: Thu, 07 Jan 2010 16:01:27
Message-Id: E1NSunc-0002Qx-7j@stork.gentoo.org
1 armin76 10/01/07 16:01:24
2
3 Added: chromium-drop_armel_m32.patch
4 Log:
5 Add patch to fix build on ARM, enable v8 build on ARM
6 (Portage version: 2.1.6.13/cvs/Linux ia64)
7
8 Revision Changes Path
9 1.1 www-client/chromium/files/chromium-drop_armel_m32.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium/files/chromium-drop_armel_m32.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium/files/chromium-drop_armel_m32.patch?rev=1.1&content-type=text/plain
13
14 Index: chromium-drop_armel_m32.patch
15 ===================================================================
16 ---
17 v8/tools/gyp/v8.gyp | 12 ------------
18 1 file changed, 12 deletions(-)
19
20 Index: src/v8/tools/gyp/v8.gyp
21 ===================================================================
22 --- src.orig/v8/tools/gyp/v8.gyp
23 +++ src/v8/tools/gyp/v8.gyp
24 @@ -196,20 +196,16 @@
25 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
26 '../../src/snapshot-empty.cc',
27 ],
28 'conditions': [
29 # The ARM assembler assumes the host is 32 bits, so force building
30 # 32-bit host tools.
31 # TODO(piman): This assumes that the host is ia32 or amd64. Fixing the
32 # code would be better
33 - ['target_arch=="arm" and _toolset=="host"', {
34 - 'cflags': ['-m32'],
35 - 'ldflags': ['-m32'],
36 - }]
37 ]
38 },
39 {
40 'target_name': 'v8_base',
41 'type': '<(library)',
42 'toolsets': ['host', 'target'],
43 'include_dirs+': [
44 '../../src',
45 @@ -425,20 +421,16 @@
46 '../../src/arm/virtual-frame-arm.cc',
47 '../../src/arm/virtual-frame-arm.h',
48 ],
49 'conditions': [
50 # The ARM assembler assumes the host is 32 bits, so force building
51 # 32-bit host tools.
52 # TODO(piman): This assumes that the host is ia32 or amd64. Fixing
53 # the code would be better
54 - ['_toolset=="host"', {
55 - 'cflags': ['-m32'],
56 - 'ldflags': ['-m32'],
57 - }]
58 ]
59 }],
60 ['target_arch=="ia32"', {
61 'include_dirs+': [
62 '../../src/ia32',
63 ],
64 'sources': [
65 '../../src/ia32/assembler-ia32-inl.h',
66 @@ -595,20 +587,16 @@
67 'sources': [
68 '../../src/mksnapshot.cc',
69 ],
70 'conditions': [
71 # The ARM assembler assumes the host is 32 bits, so force building
72 # 32-bit host tools.
73 # TODO(piman): This assumes that the host is ia32 or amd64. Fixing
74 # the code would be better
75 - ['target_arch=="arm" and _toolset=="host"', {
76 - 'cflags': ['-m32'],
77 - 'ldflags': ['-m32'],
78 - }]
79 ]
80 },
81 {
82 'target_name': 'v8_shell',
83 'type': 'executable',
84 'dependencies': [
85 'v8'
86 ],