]> TLD Linux GIT Repositories - packages/poldek.git/commitdiff
- fix building with gcc 10.2
authorMarcin Krol <hawk@tld-linux.org>
Wed, 14 Sep 2022 21:17:06 +0000 (23:17 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Wed, 14 Sep 2022 21:17:06 +0000 (23:17 +0200)
poldek.spec

index 332a4874cc2d4cff81cd31a6a830bcdb1e533955..338a1d877b23b408e2bf723ea93e4431d678a887 100644 (file)
@@ -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} \