about summary refs log tree commit diff
path: root/src/liballoc_jemalloc
diff options
context:
space:
mode:
authorSébastien Marie <semarie@users.noreply.github.com>2016-12-17 20:09:23 +0100
committerSébastien Marie <semarie@users.noreply.github.com>2016-12-17 20:09:23 +0100
commita7d9025e40a55d5d8ddeb2f35075512055c363ca (patch)
treec410d5cae8e2d0b192415fed520e7dafa90e00b3 /src/liballoc_jemalloc
parent9f8c1e28a5c7e042c6522f84a684ad848a200c30 (diff)
downloadrust-a7d9025e40a55d5d8ddeb2f35075512055c363ca.tar.gz
rust-a7d9025e40a55d5d8ddeb2f35075512055c363ca.zip
let BSD to use gmake for GNU-make
the diff extends build_helper to provide an function to return the
expected name of GNU-make on the host: "make" or "gmake".

Fixes #38429
Diffstat (limited to 'src/liballoc_jemalloc')
-rw-r--r--src/liballoc_jemalloc/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc_jemalloc/build.rs b/src/liballoc_jemalloc/build.rs
index fc849e7a50c..60b7875a97c 100644
--- a/src/liballoc_jemalloc/build.rs
+++ b/src/liballoc_jemalloc/build.rs
@@ -151,7 +151,7 @@ fn main() {
     cmd.arg(format!("--build={}", build_helper::gnu_target(&host)));
 
     run(&mut cmd);
-    let mut make = Command::new("make");
+    let mut make = Command::new(build_helper::make(&host));
     make.current_dir(&build_dir)
         .arg("build_lib_static");