diff --git a/shadowsocks-libev.changes b/shadowsocks-libev.changes index 21c62b8..2fbce46 100644 --- a/shadowsocks-libev.changes +++ b/shadowsocks-libev.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jun 9 16:03:02 UTC 2020 - Dominique Leuenberger + +- 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 diff --git a/shadowsocks-libev.spec b/shadowsocks-libev.spec index 5780727..95974b1 100644 --- a/shadowsocks-libev.spec +++ b/shadowsocks-libev.spec @@ -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