summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-02-27 09:33:46 +0100
committerAlexis Ballier <aballier@gentoo.org>2017-02-27 09:34:02 +0100
commit77d18b6fd1d08dca8fdf121adc478e25c25a467c (patch)
tree2c2511681d9c238fd90ba6e49072ffc274be4f7f /profiles/arch
parentmedia-video/ffmpeg: require armvfp on arm64 too; same reason as neon. (diff)
downloadgentoo-77d18b6fd1d08dca8fdf121adc478e25c25a467c.tar.gz
gentoo-77d18b6fd1d08dca8fdf121adc478e25c25a467c.tar.bz2
gentoo-77d18b6fd1d08dca8fdf121adc478e25c25a467c.zip
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
Diffstat (limited to 'profiles/arch')
-rw-r--r--profiles/arch/arm64/package.use.force8
-rw-r--r--profiles/arch/arm64/use.mask4
2 files changed, 12 insertions, 0 deletions
diff --git a/profiles/arch/arm64/package.use.force b/profiles/arch/arm64/package.use.force
index a5c1831f383f..0bf8b0020592 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 <mgorny@gentoo.org> (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 ea6679d6bf51..cacb75abb555 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