diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-05-13 02:03:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-13 02:03:19 -0500 |
commit | 9be1fead3ccf419e5d32a935ba6a5271c2e5170a (patch) | |
tree | 5cf4cd7cbead171bfeb3e4e064d97f125011ccbb /python/servo/package_commands.py | |
parent | 3b13b152a0198b9a005ca122e6cb411b12f8c334 (diff) | |
parent | e966d976fc35c8237a557cef53d1fbf952ff99cd (diff) | |
download | servo-9be1fead3ccf419e5d32a935ba6a5271c2e5170a.tar.gz servo-9be1fead3ccf419e5d32a935ba6a5271c2e5170a.zip |
Auto merge of #16843 - froydnj:bindgen-cross-compile, r=emilio
explicitly specify bitness for x86 cross-compilation situations
Despite compiling for architecture X, the user may have specified a
clang that defaults to architecture Y. We need to ensure that we invoke
clang with the correct architecture selection. We do not use --target
to do this, however, because that runs into problems with LLVM's default
search paths. For the x86 case, we can simply use -m$BITNESS to select
the correct architecture.
This is not at all a general solution, but it does unblock compiling Stylo for 32-bit Linux on Gecko's infra.
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16843)
<!-- Reviewable:end -->
Diffstat (limited to 'python/servo/package_commands.py')
0 files changed, 0 insertions, 0 deletions