Closes: https://bugs.gentoo.org/661430
Package-Manager: Portage-2.3.78_p18, Repoman-2.3.17_p114
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
# beware that cpudetection aka fat binaries is x86/amd64 only.
# Place mpir in profiles/arch/$arch/package.use.mask
# when making it available on $arch.
- local myeconfargs+=(
+ local myeconfargs=(
$(use_enable cxx)
$(use_enable cpudetection fat)
$(use_enable static-libs static)
)
- econf ${myeconfargs[@]}
+ # https://bugs.gentoo.org/661430
+ if !use amd64 && !use x86; then
+ myeconfargs+=( --with-yasm=/bin/false )
+ fi
+ econf "${myeconfargs[@]}"
}
src_install() {