Skip to content

Commit 2aa154c

Browse files
committed
use GNU-make on BSDs
1 parent 06e7cf7 commit 2aa154c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

backtrace-sys/build.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,11 @@ fn main() {
6363

6464
let mut make = "make";
6565

66-
//FreeBSD make is BSD make
67-
if target.contains("freebsd") {
66+
// host BSDs has GNU-make as gmake
67+
if host.contains("bitrig") || host.contains("dragonfly") ||
68+
host.contains("freebsd") || host.contains("netbsd") ||
69+
host.contains("openbsd") {
70+
6871
make = "gmake"
6972
}
7073

0 commit comments

Comments
 (0)