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:
Hillwood Yang 2020-06-10 03:12:17 +00:00 committed by Git OBS Bridge
parent 87ee4619d0
commit 03157e3531
2 changed files with 8 additions and 8 deletions

View File

@ -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>

View File

@ -49,10 +49,6 @@ BuildRequires: pkg-config
BuildRequires: ghostscript-core
%endif
BuildRequires: asciidoc
%if 0%{?suse_version} > 1500
BuildRequires: gcc9
BuildRequires: gcc9-c++
%endif
BuildRequires: systemd-rpm-macros
BuildRequires: xmlto
BuildRequires: pkgconfig(systemd)
@ -101,11 +97,8 @@ This package provides development headers for it.
%setup -q
%build
export CFLAGS="%{optflags} -fcommon"
%configure \
%if 0%{?suse_version} > 1500
CC=gcc-9 \
CXX=g++-9 \
%endif
--enable-shared
%make_build