Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/libav/
Date: Tue, 20 Jun 2017 13:15:36
Message-Id: 1497964519.50fa8194d60eaf8fb684085959665d7051e4749a.aballier@gentoo
1 commit: 50fa8194d60eaf8fb684085959665d7051e4749a
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 20 12:52:28 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 20 13:15:19 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50fa8194
7
8 media-video/libav: Dont pass -mfpu=neon on arm64
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 media-video/libav/libav-12.1.ebuild | 2 +-
13 media-video/libav/libav-9999.ebuild | 4 ++--
14 2 files changed, 3 insertions(+), 3 deletions(-)
15
16 diff --git a/media-video/libav/libav-12.1.ebuild b/media-video/libav/libav-12.1.ebuild
17 index 35f9021007d..0790d536a5f 100644
18 --- a/media-video/libav/libav-12.1.ebuild
19 +++ b/media-video/libav/libav-12.1.ebuild
20 @@ -261,7 +261,7 @@ multilib_src_configure() {
21 done
22
23 # pass the right -mfpu as extra
24 - use neon && append-cflags -mfpu=neon
25 + use neon && use arm && append-cflags -mfpu=neon
26
27 # disable mmx accelerated code if PIC is required
28 # as the provided asm decidedly is not PIC for x86.
29
30 diff --git a/media-video/libav/libav-9999.ebuild b/media-video/libav/libav-9999.ebuild
31 index ac7575b7a84..ebdd0e1d9e6 100644
32 --- a/media-video/libav/libav-9999.ebuild
33 +++ b/media-video/libav/libav-9999.ebuild
34 @@ -1,4 +1,4 @@
35 -# Copyright 1999-2015 Gentoo Foundation
36 +# Copyright 1999-2017 Gentoo Foundation
37 # Distributed under the terms of the GNU General Public License v2
38
39 EAPI=5
40 @@ -248,7 +248,7 @@ multilib_src_configure() {
41 done
42
43 # pass the right -mfpu as extra
44 - use neon && append-cflags -mfpu=neon
45 + use neon && use arm && append-cflags -mfpu=neon
46
47 # disable mmx accelerated code if PIC is required
48 # as the provided asm decidedly is not PIC for x86.