From be7ebdd512e8b4de29c0e0cf5aabf486e988867b Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 6 Jun 2017 19:32:43 -0700 Subject: Bump version and stage0 compiler --- src/liballoc_jemalloc/build.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/liballoc_jemalloc') 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") -- cgit 1.4.1-3-g733a5