Comment #10 on issue 31274 by asacasa: fails to build on arm natively with "cc1plus: error: unrecognized command line option "-m32""
http://code.google.com/p/chromium/issues/detail?id=31274

i thought something like this:

Index: build/common.gypi
===================================================================
--- build/common.gypi   (revision 35439)
+++ build/common.gypi   (working copy)
@@ -44,8 +44,10 @@
           # hosts should pass an explicit target_arch to gyp.
           'target_arch%':
             '<!(uname -m | sed -e
"s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/arm.*/arm/")',
+          'host_arch%': '<(target_arch)',
         }, {  # OS!="linux"
           'target_arch%': 'ia32',
+          'host_arch%': '<(target_arch)',
         }],
       ],

@@ -79,6 +81,7 @@
     'branding%': '<(branding)',
     'buildtype%': '<(buildtype)',
     'target_arch%': '<(target_arch)',
+    'host_arch%': '<(host_arch)',
     'toolkit_views%': '<(toolkit_views)',
     'chromeos%': '<(chromeos)',
     'inside_chromium_build%': '<(inside_chromium_build)',



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
-- 
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs

Reply via email to