kona: needs -fcommon for gcc10

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

View File

@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
CFLAGS="-fcommon"
post_extract() {
sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
}