[packages/xchat-gnome] compile with -fcommon to fix build using gcc 10

atler atler at pld-linux.org
Tue May 11 19:27:21 CEST 2021


commit 5481972436121643031caf7cfe5585f72f3c8f87
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue May 11 19:26:27 2021 +0200

    compile with -fcommon to fix build using gcc 10

 xchat-gnome.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/xchat-gnome.spec b/xchat-gnome.spec
index 9560b33..b3589f9 100644
--- a/xchat-gnome.spec
+++ b/xchat-gnome.spec
@@ -96,6 +96,7 @@ Wtyczka dodająca do XChata możliwość uruchamiania skryptów w Pythonie.
 %{__autoheader}
 %{__automake}
 %configure \
+	CFLAGS="%{rpmcflags} -fcommon" \
 	--enable-compile-warnings=minimum \
 	--disable-static \
 	--disable-tcl
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xchat-gnome.git/commitdiff/5481972436121643031caf7cfe5585f72f3c8f87



More information about the pld-cvs-commit mailing list