1 |
commit: aedbcba4f4c0eef97557e9d8068dbeec1e154b54 |
2 |
Author: Luca Barbato <lu_zero <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 1 19:44:24 2018 +0000 |
4 |
Commit: Luca Barbato <lu_zero <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 1 21:03:04 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aedbcba4 |
7 |
|
8 |
media-libs/dav1d: Do not build the x86 assembly on x32 |
9 |
|
10 |
It is not supported by upstream right now. bug #667460 |
11 |
|
12 |
Package-Manager: Portage-2.3.50, Repoman-2.3.10 |
13 |
Signed-off-by: Luca Barbato <lu_zero <AT> gentoo.org> |
14 |
|
15 |
media-libs/dav1d/dav1d-9999.ebuild | 8 +++++++- |
16 |
1 file changed, 7 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/media-libs/dav1d/dav1d-9999.ebuild b/media-libs/dav1d/dav1d-9999.ebuild |
19 |
index 2f6ff4e339b..c5eab1165a3 100644 |
20 |
--- a/media-libs/dav1d/dav1d-9999.ebuild |
21 |
+++ b/media-libs/dav1d/dav1d-9999.ebuild |
22 |
@@ -36,9 +36,15 @@ multilib_src_configure() { |
23 |
use 8bit && bits+=( 8 ) |
24 |
use 10bit && bits+=( 10 ) |
25 |
|
26 |
+ if [[ ${MULTILIB_ABI_FLAG} == abi_x86_x32 ]]; then |
27 |
+ build_asm=false |
28 |
+ else |
29 |
+ build_asm=$(usex asm true false) |
30 |
+ fi |
31 |
+ |
32 |
local emesonargs=( |
33 |
-D bitdepths=$(IFS=,; echo "${bits[*]}") |
34 |
- -D build_asm=$(usex asm true false) |
35 |
+ -D build_asm=$build_asm |
36 |
) |
37 |
meson_src_configure |
38 |
} |