media-libs/vo-aacenc: Append -mfpu=neon when USE=neon is set, it does not build other...
authorAlexis Ballier <aballier@gentoo.org>
Sat, 11 Feb 2017 11:03:24 +0000 (12:03 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Sat, 11 Feb 2017 11:03:34 +0000 (12:03 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

media-libs/vo-aacenc/vo-aacenc-0.1.3.ebuild
media-libs/vo-aacenc/vo-aacenc-9999.ebuild

index a1443bc0fa9217cf4844d55e858a63a5e4d91008..783c9ac2153ab903579441ba765d7f7f4f724c18 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -11,7 +11,7 @@ if [[ ${PV} == *9999 ]] ; then
        AUTOTOOLS_AUTORECONF=yes
 fi
 
-inherit autotools-multilib ${SCM}
+inherit autotools-multilib flag-o-matic ${SCM}
 
 DESCRIPTION="VisualOn AAC encoder library"
 HOMEPAGE="https://sourceforge.net/projects/opencore-amr/"
@@ -34,6 +34,7 @@ IUSE="examples static-libs neon"
 AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
 
 src_configure() {
+       use neon && append-flags '-mfpu=neon'
        local myeconfargs=(
                "$(use_enable examples example)"
                "$(use_enable neon armv7neon)"
index 7d154fcff6eb90cd9dd72c3c15d582c1059db6cf..2aed642b20db58381bd5e0982c5cc6f0d40a1931 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -11,7 +11,7 @@ if [[ ${PV} == *9999 ]] ; then
        AUTOTOOLS_AUTORECONF=yes
 fi
 
-inherit autotools-multilib ${SCM}
+inherit autotools-multilib flag-o-matic ${SCM}
 
 DESCRIPTION="VisualOn AAC encoder library"
 HOMEPAGE="https://sourceforge.net/projects/opencore-amr/"
@@ -34,6 +34,7 @@ IUSE="examples static-libs neon"
 AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
 
 src_configure() {
+       use neon && append-flags '-mfpu=neon'
        local myeconfargs=(
                "$(use_enable examples example)"
                "$(use_enable neon armv7neon)"