[packages/libappindicator] fix build with gcc 10

atler atler at pld-linux.org
Wed Oct 21 19:11:53 CEST 2020


commit 8f9d92902b093febd7f024552beda5242ec177ca
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Oct 21 18:31:43 2020 +0200

    fix build with gcc 10

 libappindicator.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/libappindicator.spec b/libappindicator.spec
index 1a0bd4b..2460b4b 100644
--- a/libappindicator.spec
+++ b/libappindicator.spec
@@ -281,6 +281,7 @@ Dokumentacja API biblioteki libappindicator (zarówno w wersji GTK+
 %{__autoheader}
 %{__automake}
 
+export CFLAGS="%{rpmcflags} -fcommon"
 for gtkver in %{?with_gtk2:2} %{?with_gtk3:3}; do
 install -d build-gtk$gtkver
 cd build-gtk$gtkver
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libappindicator.git/commitdiff/5e1df5c87c47d84f131a0f4e93468fcc9175dde6



More information about the pld-cvs-commit mailing list