SHA256
1
0
forked from pool/libvpx

Accepting request 1185120 from home:dimstar:Factory

- Limit explicit GCC13 usage to suse_version < 1600, i.e to Leap
  15.x. Future versions are supposed to have a recent enough GCC
  version.

OBS-URL: https://build.opensuse.org/request/show/1185120
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libvpx?expand=0&rev=134
This commit is contained in:
Adrian Schröter 2024-07-03 13:45:34 +00:00 committed by Git OBS Bridge
parent 86d223ed12
commit cc90324fce
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jul 3 13:00:34 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Limit explicit GCC13 usage to suse_version < 1600, i.e to Leap
15.x. Future versions are supposed to have a recent enough GCC
version.
-------------------------------------------------------------------
Wed Jul 3 08:23:41 UTC 2024 - Adrian Schröter <adrian@suse.de>

View File

@ -17,6 +17,7 @@
%define sover 9
%define use_gcc13 0%{?suse_version} < 1600
Name: libvpx
Version: 1.14.1
Release: 0
@ -27,7 +28,7 @@ URL: https://www.webmproject.org/
Source0: %{name}-%{version}.tar.xz
Source1000: baselibs.conf
Patch2: libvpx-configure-add-arch.patch
%if 0%{?suse_version} < 1699
%if %use_gcc13
BuildRequires: gcc13-c++
%else
BuildRequires: gcc-c++
@ -101,7 +102,7 @@ sed -i~ /ssse3/d configure
sed -i~ 's@ssse3@@' build/make/rtcd.pl
%endif
cd build
%if 0%{?suse_version} < 1699
%if %use_gcc13
export CXX=g++-13
export CC=gcc-13
%endif