commit:     b7928872cc55ddbf23825ff7e410c0186e2351c9
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 28 06:40:19 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Jul 28 06:42:01 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7928872

net-misc/rsync: Synced live ebuild

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 net-misc/rsync/rsync-9999.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/net-misc/rsync/rsync-9999.ebuild b/net-misc/rsync/rsync-9999.ebuild
index 7bd6a4121f2..fb78f513976 100644
--- a/net-misc/rsync/rsync-9999.ebuild
+++ b/net-misc/rsync/rsync-9999.ebuild
@@ -16,7 +16,7 @@ else
                SRC_DIR="src-previews"
        else
                SRC_DIR="src"
-               KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips 
~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+               KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips 
~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
        fi
        SRC_URI="https://rsync.samba.org/ftp/rsync/${SRC_DIR}/${P/_/}.tar.gz";
        S="${WORKDIR}/${P/_/}"
@@ -81,8 +81,9 @@ src_configure() {
                $(use_enable zstd)
        )
 
-       if [[ "${ARCH}" == "amd64" ]] ; then
-               # SIMD is only available for x86_64 right now (#728868)
+       if use elibc_glibc && [[ "${ARCH}" == "amd64" ]] ; then
+               # SIMD is only available for x86_64 right now
+               # and only on glibc (#728868)
                myeconfargs+=( $(use_enable cpu_flags_x86_sse2 simd) )
        else
                myeconfargs+=( --disable-simd )

Reply via email to