[bugfix] jemalloc build

This commit is contained in:
gnzlbg 2017-11-27 14:27:06 +01:00
parent cac5f881b2
commit e2063b61a7
1 changed files with 3 additions and 1 deletions

View File

@ -45,7 +45,9 @@ fn main() {
.replace("\\", "/"))
.current_dir(&build_dir)
.env("CC", compiler.path())
.env("CFLAGS", cflags);
.env("CFLAGS", cflags.clone())
.env("CPPFLAGS", cflags.clone())
.arg("--disable-cxx") ;
if target.contains("ios") {
cmd.arg("--disable-tls");