kona: needs -fcommon for gcc10
[ci skip]
This commit is contained in:
parent
39c3afcf95
commit
cd1297df94
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
|
||||||
distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
|
distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
|
||||||
checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
|
checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
|
||||||
|
|
||||||
|
CFLAGS="-fcommon"
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
|
sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue