trinity: needs -fcommon for gcc10

[ci skip]
This commit is contained in:
Jürgen Buchmüller 2020-08-18 02:48:51 +02:00
parent e3300eb7e2
commit 7d032c185d
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
nocross="Mis-use of memfd_create declaration"
CFLAGS="-fcommon"
if [ "$CROSS_BUILD" ]; then
export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
fi