yersinia: needs -fcommon for gcc10

[ci skip]
This commit is contained in:
Jürgen Buchmüller 2020-08-18 02:49:25 +02:00
parent 306ad92329
commit 61ab263589
1 changed files with 5 additions and 0 deletions

View File

@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" ${makedepends}"
fi
post_configure() {
# configure doesn't honor env CFLAGS
vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
}