forked from pool/usbguard
Accepting request 957609 from home:rfrohl:branches:hardware
usbguard: use gcc10 instead, manual PIE OBS-URL: https://build.opensuse.org/request/show/957609 OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=39
This commit is contained in:
parent
437c1f575c
commit
0913b59d2d
@ -40,7 +40,7 @@ BuildRequires: automake
|
||||
BuildRequires: bash-completion-devel
|
||||
BuildRequires: dbus-1-glib-devel
|
||||
%if 0%{?suse_version} == 1500
|
||||
BuildRequires: gcc9-c++
|
||||
BuildRequires: gcc10-c++
|
||||
%else
|
||||
BuildRequires: gcc-c++
|
||||
%endif
|
||||
@ -99,7 +99,10 @@ software framework.
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} == 1500
|
||||
export CXX=g++-9
|
||||
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…
Reference in New Issue
Block a user