From 8f9d92902b093febd7f024552beda5242ec177ca Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Wed, 21 Oct 2020 18:31:43 +0200 Subject: [PATCH] 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 -- 2.44.0