1 |
commit: 55f28d1b78ff6c67d52fa78eaf12d81fdce23897 |
2 |
Author: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Sat Jun 4 04:19:24 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 29 16:28:04 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=55f28d1b |
7 |
|
8 |
scripts/bootstrap-prefix.sh: add OpenBSD toolchain |
9 |
|
10 |
Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
scripts/bootstrap-prefix.sh | 4 ++-- |
14 |
1 file changed, 2 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh |
17 |
index f1eecd65bc..906ce86bc7 100755 |
18 |
--- a/scripts/bootstrap-prefix.sh |
19 |
+++ b/scripts/bootstrap-prefix.sh |
20 |
@@ -160,7 +160,7 @@ configure_toolchain() { |
21 |
*-darwin*) |
22 |
# handled below |
23 |
;; |
24 |
- *-freebsd*) |
25 |
+ *-freebsd* | *-openbsd*) |
26 |
# comes with clang, handled below |
27 |
;; |
28 |
*) |
29 |
@@ -267,7 +267,7 @@ configure_toolchain() { |
30 |
sys-devel/llvm |
31 |
sys-devel/clang" |
32 |
;; |
33 |
- *-freebsd*) |
34 |
+ *-freebsd* | *-openbsd*) |
35 |
CC=clang |
36 |
CXX=clang++ |
37 |
# TODO: target clang toolchain someday? |