]> git.pld-linux.org Git - packages/netsniff-ng.git/commitdiff
- use -fcommon to fix build with gcc 10
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 23 May 2020 20:23:57 +0000 (22:23 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 23 May 2020 20:23:57 +0000 (22:23 +0200)
netsniff-ng.spec

index a2afc4ca9ee76eb83ef002d5df4afe3d1b9bb345..13fc74ce56f464f01067624222c139c2e4f4fcd7 100644 (file)
@@ -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=
 
This page took 0.093687 seconds and 4 git commands to generate.