Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/ffmpeg
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-01-21 18:04:42 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2021-01-21 18:04:42 +0100
commitb5c666bd67904fa27fba2380c34e03e3b903356e (patch)
treebe729eed96027c3f88e5ba3915029516dc5f682b /extra/ffmpeg
parent6aa67d2ff5056f5927afe61210c56977cfbab034 (diff)
extra/libva: trying to break cycle with mesa
Diffstat (limited to 'extra/ffmpeg')
-rw-r--r--extra/ffmpeg/PKGBUILD8
1 files changed, 8 insertions, 0 deletions
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/})