summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-07-04 03:40:40 -0700
committerGitHub <noreply@github.com>2017-07-04 03:40:40 -0700
commitd0df1b970096eec60f68c3b1e3562191ccdf2c8b (patch)
tree127cbbd2d58ce1f6f4958faabbb369172e104bc0 /src
parent1cbb5d39d28814d45b9db3f7c89943629e634012 (diff)
parentee478a123eec1141e7555ec84eff8a10723d0e00 (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')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index bfa71d38..7f166777 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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