[packages/perl-CGI-SpeedyCGI] compile with -fcommon to fix build using gcc 10

atler atler at pld-linux.org
Tue May 11 17:32:23 CEST 2021


commit 21a3f14874681fafc4dc85f0d4d2279252433b6a
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue May 11 17:31:35 2021 +0200

    compile with -fcommon to fix build using gcc 10

 perl-CGI-SpeedyCGI.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/perl-CGI-SpeedyCGI.spec b/perl-CGI-SpeedyCGI.spec
index 75061e6..17e3f1b 100644
--- a/perl-CGI-SpeedyCGI.spec
+++ b/perl-CGI-SpeedyCGI.spec
@@ -100,17 +100,17 @@ Moduł apache SpeedyCGI.
 
 %{__make} -j1 \
 	CC="%{__cc}" \
-	OPTIMIZE="%{rpmcflags}"
+	OPTIMIZE="%{rpmcflags} -fcommon"
 
 %if %{with apache1}
 %{__make} -C mod_speedycgi APXS="%{apxs1}" \
 	CC="%{__cc}" \
-	OPTIMIZE="%{rpmcflags}"
+	OPTIMIZE="%{rpmcflags} -fcommon"
 %endif
 %if %{with apache2}
 %{__make} -C mod_speedycgi2 APXS="%{apxs2}" \
 	CC="%{__cc}" \
-	OPTIMIZE="%{rpmcflags}"
+	OPTIMIZE="%{rpmcflags} -fcommon"
 %endif
 
 %{?with_test:%{__make} test}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-CGI-SpeedyCGI.git/commitdiff/21a3f14874681fafc4dc85f0d4d2279252433b6a



More information about the pld-cvs-commit mailing list