media-libs/dav1d: Do not build the x86 assembly on x32
authorLuca Barbato <lu_zero@gentoo.org>
Mon, 1 Oct 2018 19:44:24 +0000 (19:44 +0000)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 1 Oct 2018 21:03:04 +0000 (21:03 +0000)
It is not supported by upstream right now. bug #667460

Package-Manager: Portage-2.3.50, Repoman-2.3.10
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
media-libs/dav1d/dav1d-9999.ebuild

index 2f6ff4e339b5d5e852fa7f46d0e5b3ffff203aa8..c5eab1165a347a3baf22b54fba34968ade2c364e 100644 (file)
@@ -36,9 +36,15 @@ multilib_src_configure() {
        use 8bit  && bits+=( 8 )
        use 10bit && bits+=( 10 )
 
+       if [[ ${MULTILIB_ABI_FLAG} == abi_x86_x32 ]]; then
+               build_asm=false
+       else
+               build_asm=$(usex asm true false)
+       fi
+
        local emesonargs=(
                -D bitdepths=$(IFS=,; echo "${bits[*]}")
-               -D build_asm=$(usex asm true false)
+               -D build_asm=$build_asm
        )
        meson_src_configure
 }