From 1a2dd31bbb4be42b1ae02f423cbed516ac32d653 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Mon, 6 Jul 2020 09:36:44 +0200 Subject: [PATCH] Reduce i686 deps --- x264.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/x264.spec b/x264.spec index 934c7a9..135de54 100644 --- a/x264.spec +++ b/x264.spec @@ -14,6 +14,16 @@ %global _without_libavformat 1 %global _without_libswscale 1 } + +# Reduce dependencies to build x264-libs on i686 +%if 0%{?fedora} +%ifarch i686 +%global _without_gpac 1 +%global _without_libavformat 1 +%global _without_libswscale 1 +%endif +%endif + #Whitelist of arches with dedicated ASM code %global asmarch x86_64 armv7hl armv7hnl ppc64le aarch64 # list of arches where ASM must be optional