libunwind: needs -fcommon for gcc10
[ci skip]
This commit is contained in:
parent
fcb07d4838
commit
e687a98da1
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
|
||||||
distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
|
distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
|
||||||
checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
|
checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
|
||||||
|
|
||||||
|
CFLAGS="-fcommon"
|
||||||
|
|
||||||
# LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
|
# LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686-musl) LDFLAGS=" -lssp_nonshared" ;;
|
i686-musl) LDFLAGS=" -lssp_nonshared" ;;
|
||||||
|
|
Loading…
Reference in a new issue