ht: fix build w/ gcc10

This commit is contained in:
Jürgen Buchmüller 2020-09-08 14:06:36 +02:00
parent 068bc91b7b
commit 902c82acdf
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,8 @@ homepage="http://hte.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/hte/ht-source/${pkgname}-${version}.tar.bz2"
checksum=31f5e8e2ca7f85d40bb18ef518bf1a105a6f602918a0755bc649f3f407b75d70
CXXFLAGS="-Wno-narrowing"
pre_build() {
make CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS" CPPFLAGS= LDFLAGS= -C tools bin2c
}