From 6b1ce59b472e782cd4ea8cb31bfbffd6a8b52ea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Wed, 19 Aug 2020 14:09:43 +0200 Subject: [PATCH] siril: needs -fcommon for gcc10 [ci skip] --- srcpkgs/siril/template | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/srcpkgs/siril/template b/srcpkgs/siril/template index 5a3f57e717..25a7a414e7 100644 --- a/srcpkgs/siril/template +++ b/srcpkgs/siril/template @@ -15,9 +15,11 @@ homepage="https://www.siril.org/" distfiles="https://free-astro.org/download/${pkgname}-${version}.tar.bz2" checksum=9fb7f8a10630ea028137e8f213727519ae9916ea1d88cd8d0cc87f336d8d53b1 -case "$XBPS_TARGET_MACHINE" in - *-musl) makedepends+=" libexecinfo-devel" ;; -esac +if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + makedepends+=" libexecinfo-devel" +fi + +CFLAGS="-fcommon" pre_configure() { NOCONFIGURE=1 ./autogen.sh