[packages/x265] don't make ENABLE_ASSEMBLY x86 exclusive
Elan Ruusamäe
glen at pld-linux.org
Mon Jul 5 11:04:37 CEST 2021
On 30.06.2021 12:40, atler wrote:
> commit 62922eb360754a9b158aa9c050dd16c9ecbff7a1
> Author: Jan Palus <atler at pld-linux.org>
> Date: Wed Jun 30 09:34:04 2021 +0000
>
> don't make ENABLE_ASSEMBLY x86 exclusive
>
> on %{arm} ENABLE_ASSEMBLY seems effectively mandatory (fails with
> missing symbols otherwise)
>
> x265.spec | 12 ++++++++----
> 1 file changed, 8 insertions(+), 4 deletions(-)
> ---
> diff --git a/x265.spec b/x265.spec
> index 9ef9579..3033261 100644
> --- a/x265.spec
> +++ b/x265.spec
> @@ -1,11 +1,11 @@
> # TODO: vmaf
> #
> # Conditional build:
> -%bcond_without asm # x86 assembler
> +%bcond_without asm # assembler
> %bcond_with vmaf # VMAF support [not ready for vmaf-1.3.x as of x265 3.2]
>
> -%ifnarch %{ix86} %{x8664} x32
> -%undefine with_asm
> +%ifarch %{arm}
> +%define with_asm 1
> %endif
>
use undefine, rather define, so one can use --without flag
More information about the pld-devel-en
mailing list