commit:     bf2102c70c17f157e528aa4b5c797b0feeb5066b
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 13 18:50:43 2021 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Feb 13 18:50:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=bf2102c7

scripts/bootstrap-prefix.sh: fix atom and only install on required host

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 scripts/bootstrap-prefix.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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,

Reply via email to