diff options
author | Raúl Porcel <armin76@gentoo.org> | 2010-01-07 16:01:24 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2010-01-07 16:01:24 +0000 |
commit | 999c793c44e5424dba5676d156c9f507bef68064 (patch) | |
tree | 3dfc24203f76c315a75819d5d278fded11ad872c /www-client/chromium/files | |
parent | Transfer Prefix keywords (diff) | |
download | gentoo-2-999c793c44e5424dba5676d156c9f507bef68064.tar.gz gentoo-2-999c793c44e5424dba5676d156c9f507bef68064.tar.bz2 gentoo-2-999c793c44e5424dba5676d156c9f507bef68064.zip |
Add patch to fix build on ARM, enable v8 build on ARM
(Portage version: 2.1.6.13/cvs/Linux ia64)
Diffstat (limited to 'www-client/chromium/files')
-rw-r--r-- | www-client/chromium/files/chromium-drop_armel_m32.patch | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-drop_armel_m32.patch b/www-client/chromium/files/chromium-drop_armel_m32.patch new file mode 100644 index 000000000000..0282b65490cc --- /dev/null +++ b/www-client/chromium/files/chromium-drop_armel_m32.patch @@ -0,0 +1,71 @@ +--- + v8/tools/gyp/v8.gyp | 12 ------------ + 1 file changed, 12 deletions(-) + +Index: src/v8/tools/gyp/v8.gyp +=================================================================== +--- src.orig/v8/tools/gyp/v8.gyp ++++ src/v8/tools/gyp/v8.gyp +@@ -196,20 +196,16 @@ + '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', + '../../src/snapshot-empty.cc', + ], + 'conditions': [ + # The ARM assembler assumes the host is 32 bits, so force building + # 32-bit host tools. + # TODO(piman): This assumes that the host is ia32 or amd64. Fixing the + # code would be better +- ['target_arch=="arm" and _toolset=="host"', { +- 'cflags': ['-m32'], +- 'ldflags': ['-m32'], +- }] + ] + }, + { + 'target_name': 'v8_base', + 'type': '<(library)', + 'toolsets': ['host', 'target'], + 'include_dirs+': [ + '../../src', +@@ -425,20 +421,16 @@ + '../../src/arm/virtual-frame-arm.cc', + '../../src/arm/virtual-frame-arm.h', + ], + 'conditions': [ + # The ARM assembler assumes the host is 32 bits, so force building + # 32-bit host tools. + # TODO(piman): This assumes that the host is ia32 or amd64. Fixing + # the code would be better +- ['_toolset=="host"', { +- 'cflags': ['-m32'], +- 'ldflags': ['-m32'], +- }] + ] + }], + ['target_arch=="ia32"', { + 'include_dirs+': [ + '../../src/ia32', + ], + 'sources': [ + '../../src/ia32/assembler-ia32-inl.h', +@@ -595,20 +587,16 @@ + 'sources': [ + '../../src/mksnapshot.cc', + ], + 'conditions': [ + # The ARM assembler assumes the host is 32 bits, so force building + # 32-bit host tools. + # TODO(piman): This assumes that the host is ia32 or amd64. Fixing + # the code would be better +- ['target_arch=="arm" and _toolset=="host"', { +- 'cflags': ['-m32'], +- 'ldflags': ['-m32'], +- }] + ] + }, + { + 'target_name': 'v8_shell', + 'type': 'executable', + 'dependencies': [ + 'v8' + ], |