mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-08 18:27:07 -08:00
net-misc/rsync: Enable SIMD only for amd64
Closes: https://bugs.gentoo.org/728868 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
@@ -58,7 +58,6 @@ src_configure() {
|
||||
--with-rsyncd-conf="${EPREFIX}"/etc/rsyncd.conf
|
||||
--without-included-popt
|
||||
$(use_enable acl acl-support)
|
||||
$(use_enable cpu_flags_x86_sse2 simd)
|
||||
$(use_enable iconv)
|
||||
$(use_enable ipv6)
|
||||
$(use_enable lz4)
|
||||
@@ -68,6 +67,14 @@ src_configure() {
|
||||
$(use_enable xxhash)
|
||||
$(use_enable zstd)
|
||||
)
|
||||
|
||||
if [[ "${ARCH}" == "amd64" ]] ; then
|
||||
# SIMD is only available for x86_64 right now (#728868)
|
||||
myeconfargs+=( $(use_enable cpu_flags_x86_sse2 simd) )
|
||||
else
|
||||
myeconfargs+=( --disable-simd )
|
||||
fi
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
touch proto.h-tstamp #421625
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user