From e687a98da1ed00cc1b11b931f45874ca540ec28c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 18 Aug 2020 02:48:31 +0200 Subject: [PATCH] libunwind: needs -fcommon for gcc10 [ci skip] --- srcpkgs/libunwind/template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template index 2bafd62b62d..944fba59bf1 100644 --- a/srcpkgs/libunwind/template +++ b/srcpkgs/libunwind/template @@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/" distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz" checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435 +CFLAGS="-fcommon" + # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext case "$XBPS_TARGET_MACHINE" in i686-musl) LDFLAGS=" -lssp_nonshared" ;;