[packages/netsniff-ng] - use -fcommon to fix build with gcc 10

qboosh qboosh at pld-linux.org
Sat May 23 22:23:18 CEST 2020


commit 13c17faf98b1f1719f3fb12e5e040194ccf27111
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat May 23 22:23:57 2020 +0200

    - use -fcommon to fix build with gcc 10

 netsniff-ng.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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=
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/netsniff-ng.git/commitdiff/13c17faf98b1f1719f3fb12e5e040194ccf27111



More information about the pld-cvs-commit mailing list