From: Marcin Krol Date: Wed, 14 Sep 2022 21:17:06 +0000 (+0200) Subject: - fix building with gcc 10.2 X-Git-Url: https://git.tld-linux.org/?p=packages%2Fpoldek.git;a=commitdiff_plain;h=bdd4e7903e79ba1504da772366496e188e788ede - fix building with gcc 10.2 --- diff --git a/poldek.spec b/poldek.spec index 332a487..338a1d8 100644 --- a/poldek.spec +++ b/poldek.spec @@ -237,7 +237,7 @@ cd ../trurlib %{__automake} cd .. -CPPFLAGS="%{rpmcppflags} -std=gnu99 -fgnu89-inline -D_GNU_SOURCE=1" +CPPFLAGS="%{rpmcppflags} -std=gnu99 -fgnu89-inline -D_GNU_SOURCE=1 -fcommon" %configure \ %{?with_static:--enable-static --disable-shared} \ %{!?with_imode:--disable-imode} \