Bug#1093825: ffmpeg: Please let ffmpeg recognize the configure file loongarch
Control: tags -1 - patch + upstream
On 2025-01-23 03:40:08 +0000, wuruilong wrote:
> Source: ffmpeg
> Version: 7:7.1-3
> Severity: normal
> Tags: sid patch
> X-Debbugs-Cc: wuruilong@loongson.cn
> User: debian-loongarch@lists.debian.org
> Usertags: loong64
>
> Dear Maintainer,
>
> This code is added to make the ffmpeg source code configure file recognize loongarch when compiling.
> For example,
>
> loongarch*)
> arch="loongarch"
I'd appreciate that to be fixed upstream. Tagging as such.
Cheers
>
> wuruilong
> --- ffmpeg-7.1/debian/rules 2025-01-23 03:25:59.030220295 +0000
> +++ ffmpeg/debian/rules 2025-01-23 03:09:09.192829329 +0000
> @@ -81,6 +81,12 @@
> CONFIG += --disable-libvpl
> endif
>
> +ifeq (loong64,$(DEB_HOST_ARCH_CPU))
> + CONFIG += --arch=$(DEB_HOST_GNU_CPU)
> +else
> + CONFIG += --arch=$(DEB_HOST_ARCH_CPU)
> +endif
> +
> # The standard configuration only uses the shared CONFIG.
> CONFIG_standard = --enable-shared
>
--
Sebastian Ramacher
Reply to: