Accepting request 1228778 from security
- Use gcc/g++-13 on Leap to fix the following failure: "tpm2_setprofile.c:49:24: error: initializer element is not constant" (forwarded request 1228719 from manfred-h) OBS-URL: https://build.opensuse.org/request/show/1228778 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtpms?expand=0&rev=21
This commit is contained in:
commit
805704e3bb
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 6 09:03:46 UTC 2024 - Manfred Hollstein <manfred.h@gmx.net>
|
||||
|
||||
- Use gcc/g++-13 on Leap to fix the following failure:
|
||||
"tpm2_setprofile.c:49:24: error: initializer element is not constant"
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 4 10:30:30 UTC 2024 - Alberto Planas Dominguez <aplanas@suse.com>
|
||||
|
||||
|
@ -30,7 +30,11 @@ Patch0: tpm2-Add-padding-to-OBJECT-for-32bit-targets.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: fdupes
|
||||
%if 0%{is_opensuse} && 0%{?suse_version} < 1599
|
||||
BuildRequires: gcc13-c++
|
||||
%else
|
||||
BuildRequires: gcc-c++
|
||||
%endif
|
||||
BuildRequires: libtool
|
||||
BuildRequires: mozilla-nspr-devel
|
||||
BuildRequires: openssl-devel
|
||||
@ -63,6 +67,10 @@ Libtpms header files and documentation.
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
%if 0%{?suse_version} < 1599
|
||||
export CC=gcc-13
|
||||
export CXX=g++-13
|
||||
%endif
|
||||
%configure \
|
||||
--with-tpm2 \
|
||||
--with-openssl \
|
||||
|
Loading…
x
Reference in New Issue
Block a user