From: Jan Palus Date: Wed, 1 Jul 2020 19:06:00 +0000 (+0200) Subject: fix build with gcc 10 X-Git-Tag: auto/th/dwdiff-2.1.2-4~1 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;ds=sidebyside;h=e1d5996c14479399eabc3be1f14506d9b99d2b28;p=packages%2Fdwdiff.git fix build with gcc 10 disabled -fno-common for anonymous struct --- diff --git a/dwdiff.spec b/dwdiff.spec index 4d55f84..a337717 100644 --- a/dwdiff.spec +++ b/dwdiff.spec @@ -52,7 +52,7 @@ wyświetlane. --prefix="$RPM_BUILD_ROOT%{_prefix}" \ --mandir="$RPM_BUILD_ROOT%{_mandir}" \ CC="%{__cc}" \ - CFLAGS="%{rpmcflags}" \ + CFLAGS="%{rpmcflags} -fcommon" \ LDFLAGS="%{rpmldflags}" %{__make}