summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2021-02-13 19:50:43 +0100
committerFabian Groffen <grobian@gentoo.org>2021-02-13 19:50:43 +0100
commitbf2102c70c17f157e528aa4b5c797b0feeb5066b (patch)
tree4dc23f90475d7e78d1373017b59a14142a915da9
parentscripts/bootstrap-prefix: use newer libressl for macOS 11.2 (diff)
downloadprefix-bf2102c70c17f157e528aa4b5c797b0feeb5066b.tar.gz
prefix-bf2102c70c17f157e528aa4b5c797b0feeb5066b.tar.bz2
prefix-bf2102c70c17f157e528aa4b5c797b0feeb5066b.zip
scripts/bootstrap-prefix.sh: fix atom and only install on required host
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rwxr-xr-xscripts/bootstrap-prefix.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index bf77a31a92..100bc892a1 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -470,8 +470,9 @@ bootstrap_setup() {
sys-devel/native-cctools
EOF
+ [[ ${CHOST} == arm64-*-darwin* ]] &&
cat >> "${ROOT}"/etc/portage/package.accept_keywords <<-EOF
- sys-devel/gcc-11_pre20200206 **
+ =sys-devel/gcc-11_pre20200206 **
EOF
# Strange enough, -cxx causes wrong libtool config on Cygwin,