diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-07-04 03:40:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-04 03:40:40 -0700 |
commit | d0df1b970096eec60f68c3b1e3562191ccdf2c8b (patch) | |
tree | 127cbbd2d58ce1f6f4958faabbb369172e104bc0 /src/lib.rs | |
parent | 1cbb5d39d28814d45b9db3f7c89943629e634012 (diff) | |
parent | ee478a123eec1141e7555ec84eff8a10723d0e00 (diff) |
Auto merge of #781 - shinglyu:linux32, r=emilio
Passing additional clang arguments for Linux 32 cross compiling
This is for https://bugzilla.mozilla.org/show_bug.cgi?id=1366050
But it has to wait for https://github.com/KyleMayes/clang-sys/pull/57 to land and version number bumped.
(I'm making up the new version numbers for now.)
r? @emilio
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1063,7 +1063,7 @@ impl<'ctx> Bindings<'ctx> { options.build(); // TODO: Make this path fixup configurable? - if let Some(clang) = clang_sys::support::Clang::find(None) { + if let Some(clang) = clang_sys::support::Clang::find(None, &options.clang_args) { // If --target is specified, assume caller knows what they're doing // and don't mess with include paths for them let has_target_arg = options.clang_args |