[simplescreenrecorder] Correct use of macro for ARM builds.
Nicolas Chauvet
kwizart at gmail.com
Mon Oct 3 16:13:11 CEST 2016
2016-10-03 16:05 GMT+02:00 Vasiliy Glazov <vascom at rpmfusion.org>:
> commit d8b4314eadac7c69e0fecf8e3649f7eb5891b45c
> Author: Vascom <vascom2 at gmail.com>
> Date: Mon Oct 3 17:05:19 2016 +0300
>
> Correct use of macro for ARM builds.
>
> simplescreenrecorder.spec | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
> ---
> diff --git a/simplescreenrecorder.spec b/simplescreenrecorder.spec
> index 3e484ad..227686b 100644
> --- a/simplescreenrecorder.spec
> +++ b/simplescreenrecorder.spec
> @@ -36,11 +36,12 @@ It's 'simple' in the sense that it's easier to use than ffmpeg/avconv or VLC
> %build
> export LDFLAGS="$LDFLAGS `pkg-config --libs-only-L libavformat libavcodec libavutil libswscale`"
> export CPPFLAGS="$CPPFLAGS `pkg-config --cflags-only-I libavformat libavcodec libavutil libswscale`"
> -%ifarch %{arm}
> - %configure --disable-static --disable-x86-asm --disable-glinjectlib
> -%else
> - %configure --disable-static
> +%configure --disable-static \
> +%ifarch %{arm} aarch64
> + --disable-x86-asm \
at least for this I would use %ifnarch %{ix86} x86_64 instead.
> + --disable-glinjectlib \
I don't know if it's the same case here.
Thx for your fix.
--
-
Nicolas (kwizart)
More information about the rpmfusion-developers
mailing list