From 9e2ea242d5d4bebbca621f76aeadc56250be7237 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 18 Aug 2020 17:24:50 +0200 Subject: [PATCH] geeqie: needs -fcommon for gcc10 [ci skip] --- srcpkgs/geeqie/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template index 8d136c84ad0..2681f31e3ef 100644 --- a/srcpkgs/geeqie/template +++ b/srcpkgs/geeqie/template @@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz" checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a patch_args="-Np1" +CFLAGS="-Wno-error -fcommon" + post_extract() { # Missing from release tarball, and requires git tree to generate sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am @@ -24,9 +26,7 @@ post_extract() { pre_configure() { NOCONFIGURE=1 ./autogen.sh } -# musl gives many warnings and stops compiling after many warnings -if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + do_build() { - make CFLAGS="$CFLAGS -Wno-error" + make ${makejobs} CFLAGS="${CFLAGS}" } -fi