add options during configure for supporting building with clang
(cherry picked from commit 3280fd2898a29f32b0915cf87ba6d8bc5dca4d87)
This commit is contained in:
parent
7a47b92fff
commit
f75650abdf
12
ffmpeg.spec
12
ffmpeg.spec
@ -55,10 +55,14 @@
|
|||||||
%global ffmpeg_license %{?lesser}GPLv2+
|
%global ffmpeg_license %{?lesser}GPLv2+
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if "%{?toolchain}" == "clang"
|
||||||
|
%bcond compiler_clang 1
|
||||||
|
%endif
|
||||||
|
|
||||||
Summary: Digital VCR and streaming server
|
Summary: Digital VCR and streaming server
|
||||||
Name: ffmpeg%{?flavor}
|
Name: ffmpeg%{?flavor}
|
||||||
Version: 6.1.1
|
Version: 6.1.1
|
||||||
Release: 11
|
Release: 12
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
URL: http://ffmpeg.org/
|
URL: http://ffmpeg.org/
|
||||||
Source0: http://ffmpeg.org/releases/ffmpeg-%{version}.tar.xz
|
Source0: http://ffmpeg.org/releases/ffmpeg-%{version}.tar.xz
|
||||||
@ -291,7 +295,8 @@ This package contains development files for %{name}
|
|||||||
--enable-shared \\\
|
--enable-shared \\\
|
||||||
%{!?_without_gpl:--enable-gpl} \\\
|
%{!?_without_gpl:--enable-gpl} \\\
|
||||||
--disable-debug \\\
|
--disable-debug \\\
|
||||||
--disable-stripping
|
--disable-stripping \\\
|
||||||
|
%{?with_compiler_clang:--cc=clang --cxx=clang --host-cc=clang}
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -400,6 +405,9 @@ install -pm755 tools/qt-faststart %{buildroot}%{_bindir}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jul 5 2024 happyworker <208suo@208suo.com> - 6.1.1-11
|
||||||
- remove fix-CVE-2024-32228.patch
|
- remove fix-CVE-2024-32228.patch
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user