Accepting request 812982 from home:dimstar:Factory
- Revert back to the distro default compiler (i.e. GCC 10.1 on TW): + export CFLAGS+="-fcommon" until upstream makes this code compatible to GCC10. OBS-URL: https://build.opensuse.org/request/show/812982 OBS-URL: https://build.opensuse.org/package/show/server:proxy/shadowsocks-libev?expand=0&rev=41
This commit is contained in:
parent
87ee4619d0
commit
03157e3531
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 9 16:03:02 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Revert back to the distro default compiler (i.e. GCC 10.1 on TW):
|
||||||
|
+ export CFLAGS+="-fcommon" until upstream makes this code
|
||||||
|
compatible to GCC10.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jun 7 11:16:33 UTC 2020 - opensuse-packaging <opensuse-packaging@opensuse.org>
|
Sun Jun 7 11:16:33 UTC 2020 - opensuse-packaging <opensuse-packaging@opensuse.org>
|
||||||
|
|
||||||
|
@ -49,10 +49,6 @@ BuildRequires: pkg-config
|
|||||||
BuildRequires: ghostscript-core
|
BuildRequires: ghostscript-core
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc
|
||||||
%if 0%{?suse_version} > 1500
|
|
||||||
BuildRequires: gcc9
|
|
||||||
BuildRequires: gcc9-c++
|
|
||||||
%endif
|
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
BuildRequires: xmlto
|
BuildRequires: xmlto
|
||||||
BuildRequires: pkgconfig(systemd)
|
BuildRequires: pkgconfig(systemd)
|
||||||
@ -101,11 +97,8 @@ This package provides development headers for it.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export CFLAGS="%{optflags} -fcommon"
|
||||||
%configure \
|
%configure \
|
||||||
%if 0%{?suse_version} > 1500
|
|
||||||
CC=gcc-9 \
|
|
||||||
CXX=g++-9 \
|
|
||||||
%endif
|
|
||||||
--enable-shared
|
--enable-shared
|
||||||
|
|
||||||
%make_build
|
%make_build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user