commit:     77d18b6fd1d08dca8fdf121adc478e25c25a467c
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 27 08:33:46 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Mon Feb 27 08:34:02 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77d18b6f

profiles/arch/arm64: Unmask neon and armvfp useflags. Force them on for ffmpeg 
as it assumes they are available on arm64 and fails to build if those are 
disabled, bug #610768

 profiles/arch/arm64/package.use.force | 8 ++++++++
 profiles/arch/arm64/use.mask          | 4 ++++
 2 files changed, 12 insertions(+)

diff --git a/profiles/arch/arm64/package.use.force 
b/profiles/arch/arm64/package.use.force
index a5c1831f38..0bf8b00205 100644
--- a/profiles/arch/arm64/package.use.force
+++ b/profiles/arch/arm64/package.use.force
@@ -2,6 +2,14 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
+# Alexis Ballier <27 Feb 2017>
+# arm64 always has neon and vfp:
+# 
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0024a/CJHECGIH.html
+# Both floating-point and NEON are required in all standard ARMv8
+# implementations.
+# It also fails to build without neon: bug #610768
+media-video/ffmpeg neon armvfp
+
 # Michał Górny <[email protected]> (24 Sep 2016)
 # Force the host target to avoid dependency hell
 sys-devel/clang llvm_targets_AArch64

diff --git a/profiles/arch/arm64/use.mask b/profiles/arch/arm64/use.mask
index ea6679d6bf..cacb75abb5 100644
--- a/profiles/arch/arm64/use.mask
+++ b/profiles/arch/arm64/use.mask
@@ -1,6 +1,10 @@
 # Unmask the flag which corresponds to ARCH.
 -arm64
 
+# Unmask arm specific USE flags
+-neon
+-armvfp
+
 # doomsday ebuild is not available on this architecture
 doomsday
 

Reply via email to