!151 [sync] PR-146: Add options during configure to support building with clang

From: @openeuler-sync-bot 
Reviewed-by: @technology208 
Signed-off-by: @technology208
This commit is contained in:
openeuler-ci-bot 2024-08-27 02:45:45 +00:00 committed by Gitee
commit 6b29cfd7ef
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -55,10 +55,14 @@
%global ffmpeg_license %{?lesser}GPLv2+
%endif
%if "%{?toolchain}" == "clang"
%bcond compiler_clang 1
%endif
Summary: Digital VCR and streaming server
Name: ffmpeg%{?flavor}
Version: 6.1.1
Release: 11
Release: 12
License: GPL-3.0-or-later
URL: http://ffmpeg.org/
Source0: http://ffmpeg.org/releases/ffmpeg-%{version}.tar.xz
@ -291,7 +295,8 @@ This package contains development files for %{name}
--enable-shared \\\
%{!?_without_gpl:--enable-gpl} \\\
--disable-debug \\\
--disable-stripping
--disable-stripping \\\
%{?with_compiler_clang:--cc=clang --cxx=clang --host-cc=clang}
%prep
@ -400,6 +405,9 @@ install -pm755 tools/qt-faststart %{buildroot}%{_bindir}
%changelog
* Mon Aug 26 2024 jchzhou <zhoujiacheng@iscas.ac.cn> - 6.1.1-12
- add options during configure for supporting building with clang
* Fri Jul 5 2024 happyworker <208suo@208suo.com> - 6.1.1-11
- remove fix-CVE-2024-32228.patch