summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Vyalkova <cyber+gentoo@sysrq.in>2022-06-04 09:19:24 +0500
committerSam James <sam@gentoo.org>2022-06-29 16:28:04 +0000
commit55f28d1b78ff6c67d52fa78eaf12d81fdce23897 (patch)
tree8101ac5ffd5b7809b7aa9e83022e2b4b2dd47bf1
parentscripts/bootstrap-prefix.sh: add OpenBSD CHOST detection (diff)
downloadprefix-55f28d1b.tar.gz
prefix-55f28d1b.tar.bz2
prefix-55f28d1b.zip
scripts/bootstrap-prefix.sh: add OpenBSD toolchain
Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in> Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-xscripts/bootstrap-prefix.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index f1eecd65bc..906ce86bc7 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -160,7 +160,7 @@ configure_toolchain() {
*-darwin*)
# handled below
;;
- *-freebsd*)
+ *-freebsd* | *-openbsd*)
# comes with clang, handled below
;;
*)
@@ -267,7 +267,7 @@ configure_toolchain() {
sys-devel/llvm
sys-devel/clang"
;;
- *-freebsd*)
+ *-freebsd* | *-openbsd*)
CC=clang
CXX=clang++
# TODO: target clang toolchain someday?