diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template index 8d136c84ad..2681f31e3e 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