diff options
author | 2020-07-06 09:36:57 +0200 | |
---|---|---|
committer | 2020-07-06 09:37:54 +0200 | |
commit | 3dd34a97435475f490756095307aeade0acf86e2 (patch) | |
tree | f104c47d168b886bfeef299ead78c969bfe0e0fd /net-misc/rsync | |
parent | dev-util/codeblocks: 20.03, update FortranProject plugin to 1.7 release (diff) | |
download | gentoo-3dd34a97435475f490756095307aeade0acf86e2.tar.gz gentoo-3dd34a97435475f490756095307aeade0acf86e2.tar.bz2 gentoo-3dd34a97435475f490756095307aeade0acf86e2.zip |
net-misc/rsync: SIMD is only available on amd64 + glibc
Thanks-to: David Seifert <soap@gentoo.org>
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-misc/rsync')
-rw-r--r-- | net-misc/rsync/rsync-3.2.2.ebuild | 5 |
1 files 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 c02794fd0b9b..fb78f513976f 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 ) |