Build sandboxed-system-primitives with -std=gnu99.

This commit is contained in:
Dan Gohman
2019-05-27 09:14:29 -07:00
parent f486d61629
commit 1882fc41bb

View File

@@ -6,7 +6,9 @@ use std::env;
use std::path::PathBuf;
fn main() {
let dst = Config::new("sandboxed-system-primitives").build();
let dst = Config::new("sandboxed-system-primitives")
.cflag("-std=gnu99")
.build();
println!("cargo:rustc-link-search=native={}", dst.display());
println!("cargo:rustc-link-lib=static=SandboxedSystemPrimitives");