mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1248391 - Unbreak --enable-rust on BSDs after bug 1177599. r=ted a=ritu
MozReview-Commit-ID: 5f2AlXt06ec
This commit is contained in:
parent
a335d1a5e3
commit
a7b5b8c22f
@ -47,6 +47,34 @@ AC_DEFUN([MOZ_RUST_SUPPORT], [
|
||||
# https://github.com/rust-lang/rust/tree/master/mk/cfg
|
||||
rust_target=
|
||||
case "$target" in
|
||||
# Bitrig
|
||||
x86_64-*-bitrig*)
|
||||
rust_target=x86_64-unknown-bitrig
|
||||
;;
|
||||
|
||||
# DragonFly
|
||||
x86_64-*-dragonfly*)
|
||||
rust_target=x86_64-unknown-dragonfly
|
||||
;;
|
||||
|
||||
# FreeBSD, GNU/kFreeBSD
|
||||
i*86-*-*freebsd*)
|
||||
rust_target=i686-unknown-freebsd
|
||||
;;
|
||||
x86_64-*-*freebsd*)
|
||||
rust_target=x86_64-unknown-freebsd
|
||||
;;
|
||||
|
||||
# NetBSD
|
||||
x86_64-*-netbsd*)
|
||||
rust_target=x86_64-unknown-netbsd
|
||||
;;
|
||||
|
||||
# OpenBSD
|
||||
x86_64-*-openbsd*)
|
||||
rust_target=x86_64-unknown-openbsd
|
||||
;;
|
||||
|
||||
# Linux
|
||||
i*86*linux-gnu)
|
||||
rust_target=i686-unknown-linux-gnu
|
||||
|
Loading…
Reference in New Issue
Block a user