diff options
| author | Sébastien Marie <semarie@users.noreply.github.com> | 2016-12-17 20:09:23 +0100 |
|---|---|---|
| committer | Sébastien Marie <semarie@users.noreply.github.com> | 2016-12-17 20:09:23 +0100 |
| commit | a7d9025e40a55d5d8ddeb2f35075512055c363ca (patch) | |
| tree | c410d5cae8e2d0b192415fed520e7dafa90e00b3 /src/libstd | |
| parent | 9f8c1e28a5c7e042c6522f84a684ad848a200c30 (diff) | |
| download | rust-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/libstd')
| -rw-r--r-- | src/libstd/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/build.rs b/src/libstd/build.rs index 1087d1f2447..b3eba508316 100644 --- a/src/libstd/build.rs +++ b/src/libstd/build.rs @@ -104,7 +104,7 @@ fn build_libbacktrace(host: &str, target: &str) { .env("AR", &ar) .env("RANLIB", format!("{} s", ar.display())) .env("CFLAGS", cflags)); - run(Command::new("make") + run(Command::new(build_helper::make(host)) .current_dir(&build_dir) .arg(format!("INCDIR={}", src_dir.display())) .arg("-j").arg(env::var("NUM_JOBS").expect("NUM_JOBS was not set"))); |
