From b5c666bd67904fa27fba2380c34e03e3b903356e Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 21 Jan 2021 18:04:42 +0100 Subject: extra/libva: trying to break cycle with mesa --- extra/ffmpeg/PKGBUILD | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'extra/ffmpeg') diff --git a/extra/ffmpeg/PKGBUILD b/extra/ffmpeg/PKGBUILD index 7c2a7aed..82881216 100644 --- a/extra/ffmpeg/PKGBUILD +++ b/extra/ffmpeg/PKGBUILD @@ -1,3 +1,11 @@ +# disable LTO (breaks with too few registers in error: 'asm' operand has impossible constraints +eval "$( +declare -f build | \ + sed ' + s/--enable-lto/--disable-lto/ + ' +)" + # no vamf for non-pentium4 if [ "$CARCH" == 'i686' ] || [ "$CARCH" == 'i486' ]; then depends=(${depends[@]//vmaf/}) -- cgit v1.2.3-70-g09d2