watchman: fix gcc7 build

This commit is contained in:
Jürgen Buchmüller 2017-07-23 17:34:27 +02:00
parent 33b19052d0
commit c3e0639ab2
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@ pkgname=watchman
version=4.7.0
revision=1
build_style=gnu-configure
configure_args="--disable-statedir"
configure_args="--disable-statedir --disable-lenient"
hostmakedepends="automake libtool"
makedepends="pcre-devel"
short_desc="Watches files and records, or triggers actions, when they change"
@ -13,6 +13,8 @@ homepage="https://facebook.github.io/watchman/"
distfiles="https://github.com/facebook/watchman/archive/v${version}.tar.gz"
checksum=77c7174c59d6be5e17382e414db4907a298ca187747c7fcb2ceb44da3962c6bf
CFLAGS="-Wno-error"
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}