Add Chimera Linux to gmake targets (#73)

Signed-off-by: Val Packett <val@packett.cool>
This commit is contained in:
Val Packett 2024-02-19 08:10:03 -03:00 committed by GitHub
parent b913c24fdd
commit af6e6529c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 1 deletions

View File

@ -370,7 +370,14 @@ fn gnu_target(target: &str) -> String {
} }
fn make_cmd(host: &str) -> &'static str { fn make_cmd(host: &str) -> &'static str {
const GMAKE_HOSTS: &[&str] = &["bitrig", "dragonfly", "freebsd", "netbsd", "openbsd"]; const GMAKE_HOSTS: &[&str] = &[
"bitrig",
"dragonfly",
"freebsd",
"netbsd",
"openbsd",
"chimera-linux",
];
if GMAKE_HOSTS.iter().any(|i| host.contains(i)) { if GMAKE_HOSTS.iter().any(|i| host.contains(i)) {
"gmake" "gmake"
} else if host.contains("windows") { } else if host.contains("windows") {