Skip to content

Commit

Permalink
Passing additional clang arguments for Linux 32 cross compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
Shing Lyu committed Jun 30, 2017
1 parent 691834d commit 7220120
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ quasi_codegen = "0.32"
[dependencies]
cexpr = "0.2"
cfg-if = "0.1.0"
clang-sys = { version = "0.18.0", features = ["runtime", "clang_3_9"] }
clang-sys = { version = "0.18.1", features = ["runtime", "clang_3_9"] }
lazy_static = "0.2.1"
peeking_take_while = "0.1.2"
syntex_syntax = "0.58"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7220120

Please sign in to comment.