forked from pool/libwebp
Fix build on code 15 by forcing gcc 14 #2
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 6 13:43:09 UTC 2025 - Hans-Peter Jansen <hpj@urpla.net>
|
||||||
|
|
||||||
|
- Fix build on code 15 by forcing gcc 14
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Aug 3 13:23:37 UTC 2025 - anenasa <anenasaa@yahoo.com>
|
Sun Aug 3 13:23:37 UTC 2025 - anenasa <anenasaa@yahoo.com>
|
||||||
|
|
||||||
|
11
libwebp.spec
11
libwebp.spec
@@ -2,6 +2,7 @@
|
|||||||
# spec file for package libwebp
|
# spec file for package libwebp
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,6 +17,10 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?suse_version} == 1500
|
||||||
|
%global force_gcc_version 14
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: libwebp
|
Name: libwebp
|
||||||
Version: 1.6.0
|
Version: 1.6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -30,6 +35,8 @@ Source3: %name.keyring
|
|||||||
Source4: baselibs.conf
|
Source4: baselibs.conf
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
|
BuildRequires: gcc%{?force_gcc_version}
|
||||||
|
BuildRequires: gcc%{?force_gcc_version}-c++
|
||||||
BuildRequires: giflib-devel
|
BuildRequires: giflib-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(glut)
|
BuildRequires: pkgconfig(glut)
|
||||||
@@ -140,6 +147,10 @@ images more efficiently.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if 0%{?force_gcc_version}
|
||||||
|
export CC="gcc-%{?force_gcc_version}"
|
||||||
|
export CXX="g++-%{?force_gcc_version}"
|
||||||
|
%endif
|
||||||
%cmake
|
%cmake
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user