[packages/libiscsi] continue using -fcommon to fix build with gcc10

atler atler at pld-linux.org
Tue Nov 10 15:09:26 CET 2020


commit c32ec69d004626de3bf02d41d0b07c9a2f9ba92e
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Nov 10 15:07:17 2020 +0100

    continue using -fcommon to fix build with gcc10
    
    fixed upstream but scattered across many commits, to be dropped when
    new release is made

 libiscsi.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/libiscsi.spec b/libiscsi.spec
index e04f909..1ccbd4e 100644
--- a/libiscsi.spec
+++ b/libiscsi.spec
@@ -87,6 +87,7 @@ wszystkich celów oraz urządzeń.
 %{__autoheader}
 %{__automake}
 %configure \
+	CFLAGS="%{rpmcflags} -fcommon" \
 	--disable-werror
 %{__make}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libiscsi.git/commitdiff/c32ec69d004626de3bf02d41d0b07c9a2f9ba92e



More information about the pld-cvs-commit mailing list