forked from pool/usbguard
Accepting request 957613 from hardware
OBS-URL: https://build.opensuse.org/request/show/957613 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=15
This commit is contained in:
commit
5f7a5b93e4
@ -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: gcc10-c++
|
||||
%else
|
||||
BuildRequires: gcc-c++
|
||||
%endif
|
||||
BuildRequires: libcap-ng-devel
|
||||
BuildRequires: libqb-devel
|
||||
BuildRequires: libseccomp-devel
|
||||
@ -94,6 +98,12 @@ software framework.
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} == 1500
|
||||
export CXX=g++-10
|
||||
# gcc10 has no gcc10-PIE yet, enforce manually (see boo#1195628 for progress)
|
||||
export CPPFLAGS='-fPIE'
|
||||
export LDFLAGS='-pie'
|
||||
%endif
|
||||
mkdir -p ./m4
|
||||
autoreconf -i -s --no-recursive ./
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user