commit:     644e0b3952fd1fc4bce3b9315fb95c7dc9283cfa
Author:     Luca Barbato <lu_zero <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 15 13:21:25 2015 +0000
Commit:     Luca Barbato <lu_zero <AT> gentoo <DOT> org>
CommitDate: Fri Sep 25 10:08:27 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=644e0b39

libav: Filter -marm

It is know to cause horrible problems.

 media-video/libav/libav-9999.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/media-video/libav/libav-9999.ebuild 
b/media-video/libav/libav-9999.ebuild
index 503d6e6..09447da 100644
--- a/media-video/libav/libav-9999.ebuild
+++ b/media-video/libav/libav-9999.ebuild
@@ -276,6 +276,11 @@ multilib_src_configure() {
        # Misc stuff
        use hardcoded-tables && myconf+=( --enable-hardcoded-tables )
 
+       # Forcing arm would make the compiler break left and right
+       if [[ ${ABI} == arm ]]; then
+               filter-flags -marm
+       fi
+
        # Specific workarounds for too-few-registers arch...
        if [[ ${ABI} == x86 ]]; then
                local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}

Reply via email to