diff options
author | wangxianzhu@chromium.org <wangxianzhu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-24 22:43:23 +0000 |
---|---|---|
committer | wangxianzhu@chromium.org <wangxianzhu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-24 22:43:23 +0000 |
commit | 4aef1770f2cb1e2bb208c96538538ec98abe0540 (patch) | |
tree | c54d0dfaf0274b311496d833d87bb5964776c6ee /build/protoc.gypi | |
parent | 56ab196284872884378c273e96b01cf3902d18c2 (diff) | |
download | chromium_src-4aef1770f2cb1e2bb208c96538538ec98abe0540.zip chromium_src-4aef1770f2cb1e2bb208c96538538ec98abe0540.tar.gz chromium_src-4aef1770f2cb1e2bb208c96538538ec98abe0540.tar.bz2 |
Fix break building v8 with goma
The error is caused by missing '-m32' parameter when building v8 for host.
CXX(host) out/Release/obj.host/v8_base/v8/src/accessors.o
v8/src/globals.h:120:2: error: #error Target architecture arm is only supported on arm and ia32 host
v8/build/common.gypi tests if the compiler supports -m32:
'm32flag': '<!((echo | $(echo ${CXX_host:-$(which g++)}) -m32 -E - > /dev/null 2>&1) && echo -n "-m32" || true)',
but goma is confused by the environment variable GOMA_WRAPPER and exits
with an error:
GOMA_WRAPPER=<anything>: unkown GOMA_ parameter
and the gyp script thinks that the compiler doesn't support -m32.
Rename GOMA_WRAPPER to ANDROID_GOMA_WRAPPER to avoid confusing goma.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138916 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/protoc.gypi')
0 files changed, 0 insertions, 0 deletions