mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 10:50:53 +02:00
Merge pull request #10356 from space88man/fix-rhel10-lto
rpm packaging: RHEL10 + LTO needs gcc-toolset-15
This commit is contained in:
@@ -13,6 +13,9 @@ BuildRequires: make
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: sed
|
||||
BuildRequires: tar
|
||||
%if 0%{?rhel} == 10
|
||||
BuildRequires: gcc-toolset-15 gcc-toolset-15-gcc-plugin-annobin
|
||||
%endif
|
||||
URL: http://www.wolfssl.com/
|
||||
|
||||
Packager: wolfSSL <support@wolfssl.com>
|
||||
@@ -37,6 +40,9 @@ you will need to install %{name}-devel.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%if 0%{?rhel} == 10
|
||||
source /usr/lib/gcc-toolset/15-env.source
|
||||
%endif
|
||||
%configure @WOLFSSL_CONFIG_ARGS@
|
||||
%{__make} %{?_smp_mflags}
|
||||
if [ "@ENABLED_FIPS@" = "yes" ]
|
||||
|
||||
Reference in New Issue
Block a user