diff --git a/community/thttpd/APKBUILD b/community/thttpd/APKBUILD index 38728ba98e9..3f7c61052ab 100644 --- a/community/thttpd/APKBUILD +++ b/community/thttpd/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Francesco Colista pkgname=thttpd pkgver=2.29 -pkgrel=2 +pkgrel=3 pkgdesc="Simple, small, portable, fast, and secure HTTP server" url="http://www.acme.com/software/thttpd" arch="all" @@ -28,7 +28,9 @@ prepare() { } build() { - ./configure --prefix=/usr --mandir=/usr/share/man + CFLAGS="$CFLAGS -fpermissive" ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man sed -e 's/^CFLAGS =/CFLAGS +=/' \ -e '/^STATICFLAG =/c STATICFLAG =' \ -i Makefile */Makefile