From: Jakub Bogusz Date: Sat, 23 May 2020 20:23:57 +0000 (+0200) Subject: - use -fcommon to fix build with gcc 10 X-Git-Tag: auto/th/netsniff-ng-0.6.7-1~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fnetsniff-ng.git;a=commitdiff_plain;h=13c17faf98b1f1719f3fb12e5e040194ccf27111 - use -fcommon to fix build with gcc 10 --- diff --git a/netsniff-ng.spec b/netsniff-ng.spec index a2afc4c..13fc74c 100644 --- a/netsniff-ng.spec +++ b/netsniff-ng.spec @@ -64,7 +64,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) --prefix="%{_prefix}" %{__make} \ CC="%{__cc}" \ - CPPFLAGS="%{rpmcflags} %{rpmcppflags}" \ + CPPFLAGS="%{rpmcflags} %{rpmcppflags} -fcommon" \ %{?debug:DEBUG=1} \ Q=