Skip to content

Commit

Permalink
use GNU-make on BSDs
Browse files Browse the repository at this point in the history
  • Loading branch information
semarie committed Jun 19, 2017
1 parent 06e7cf7 commit 2aa154c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions backtrace-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,11 @@ fn main() {

let mut make = "make";

//FreeBSD make is BSD make
if target.contains("freebsd") {
// host BSDs has GNU-make as gmake
if host.contains("bitrig") || host.contains("dragonfly") ||
host.contains("freebsd") || host.contains("netbsd") ||
host.contains("openbsd") {

make = "gmake"
}

Expand Down

0 comments on commit 2aa154c

Please sign in to comment.