From 644e0b3952fd1fc4bce3b9315fb95c7dc9283cfa Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Tue, 15 Sep 2015 15:21:25 +0200 Subject: [PATCH] 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 503d6e6a4707..09447dad547f 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} -- 2.26.2