about summary refs log tree commit diff
path: root/src/liballoc_jemalloc
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-06-06 19:32:43 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-06-19 22:25:05 -0700
commitbe7ebdd512e8b4de29c0e0cf5aabf486e988867b (patch)
treebb4cfa3e4d8b47883518fc1fd6a34b613b63aae7 /src/liballoc_jemalloc
parent04145943a25c3b8c7e7d7fe8c2efb04f259c25fb (diff)
downloadrust-be7ebdd512e8b4de29c0e0cf5aabf486e988867b.tar.gz
rust-be7ebdd512e8b4de29c0e0cf5aabf486e988867b.zip
Bump version and stage0 compiler
Diffstat (limited to 'src/liballoc_jemalloc')
-rw-r--r--src/liballoc_jemalloc/build.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/liballoc_jemalloc/build.rs b/src/liballoc_jemalloc/build.rs
index f3a0eebe698..23677bca9f1 100644
--- a/src/liballoc_jemalloc/build.rs
+++ b/src/liballoc_jemalloc/build.rs
@@ -154,6 +154,11 @@ fn main() {
     make.current_dir(&native.out_dir)
         .arg("build_lib_static");
 
+    // These are intended for mingw32-make which we don't use
+    if cfg!(windows) {
+        make.env_remove("MAKEFLAGS").env_remove("MFLAGS");
+    }
+
     // mingw make seems... buggy? unclear...
     if !host.contains("windows") {
         make.arg("-j")