Skip to content

Commit 1fe55c1

Browse files
authored
Merge pull request gnzlbg#36 from gnzlbg/bugfix_jem
[bugfix] jemalloc i686-apple-darwin build
2 parents cac5f88 + e2063b6 commit 1fe55c1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jemalloc-sys/build.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ fn main() {
4545
.replace("\\", "/"))
4646
.current_dir(&build_dir)
4747
.env("CC", compiler.path())
48-
.env("CFLAGS", cflags);
48+
.env("CFLAGS", cflags.clone())
49+
.env("CPPFLAGS", cflags.clone())
50+
.arg("--disable-cxx") ;
4951

5052
if target.contains("ios") {
5153
cmd.arg("--disable-tls");

0 commit comments

Comments
 (0)