Source: ffmpeg
Version: 7:7.1-3
Severity: normal
Tags: sid patch
X-Debbugs-Cc: [email protected]
User: [email protected]
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"
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