commit:     3dd34a97435475f490756095307aeade0acf86e2
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  6 07:36:57 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Jul  6 07:37:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dd34a97

net-misc/rsync: SIMD is only available on amd64 + glibc

Thanks-to: David Seifert <soap <AT> gentoo.org>

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

 net-misc/rsync/rsync-3.2.2.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/net-misc/rsync/rsync-3.2.2.ebuild 
b/net-misc/rsync/rsync-3.2.2.ebuild
index c02794fd0b9..fb78f513976 100644
--- a/net-misc/rsync/rsync-3.2.2.ebuild
+++ b/net-misc/rsync/rsync-3.2.2.ebuild
@@ -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