forked from pool/usbguard
Accepting request 957563 from home:rfrohl:branches:hardware
usbguard: fix build with older gcc versions OBS-URL: https://build.opensuse.org/request/show/957563 OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=38
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 25 10:43:56 UTC 2022 - Robert Frohl <rfrohl@suse.com>
|
||||
|
||||
- Fix build for Leap and SLE by using newer gcc version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 14:49:05 UTC 2022 - Robert Frohl <rfrohl@suse.com>
|
||||
|
||||
|
@@ -39,7 +39,11 @@ BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: bash-completion-devel
|
||||
BuildRequires: dbus-1-glib-devel
|
||||
%if 0%{?suse_version} == 1500
|
||||
BuildRequires: gcc9-c++
|
||||
%else
|
||||
BuildRequires: gcc-c++
|
||||
%endif
|
||||
BuildRequires: libcap-ng-devel
|
||||
BuildRequires: libqb-devel
|
||||
BuildRequires: libseccomp-devel
|
||||
@@ -94,6 +98,9 @@ software framework.
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} == 1500
|
||||
export CXX=g++-9
|
||||
%endif
|
||||
mkdir -p ./m4
|
||||
autoreconf -i -s --no-recursive ./
|
||||
|
||||
|
Reference in New Issue
Block a user