media-video/libav: Dont pass -mfpu=neon on arm64
authorAlexis Ballier <aballier@gentoo.org>
Tue, 20 Jun 2017 12:52:28 +0000 (14:52 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 20 Jun 2017 13:15:19 +0000 (15:15 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

media-video/libav/libav-12.1.ebuild
media-video/libav/libav-9999.ebuild

index 35f9021007d80524710d12acdd65ef28fe4b4b5a..0790d536a5f930b6aac6d0662efe2bf3ae25382d 100644 (file)
@@ -261,7 +261,7 @@ multilib_src_configure() {
        done
 
        # pass the right -mfpu as extra
-       use neon && append-cflags -mfpu=neon
+       use neon && use arm && append-cflags -mfpu=neon
 
        # disable mmx accelerated code if PIC is required
        # as the provided asm decidedly is not PIC for x86.
index ac7575b7a84def8dfe81b856c948bef4075eea2b..ebdd0e1d9e612f18ca67b096738c44b1b73a45f1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -248,7 +248,7 @@ multilib_src_configure() {
        done
 
        # pass the right -mfpu as extra
-       use neon && append-cflags -mfpu=neon
+       use neon && use arm && append-cflags -mfpu=neon
 
        # disable mmx accelerated code if PIC is required
        # as the provided asm decidedly is not PIC for x86.