capnproto: build with std=c++14

This commit is contained in:
maxice8 2018-12-09 13:55:50 -02:00 committed by maxice8
parent c830164053
commit e1c7ce4003

View file

@ -1,7 +1,7 @@
# Template file for 'capnproto'
pkgname=capnproto
version=0.7.0
revision=1
revision=2
wrksrc="${pkgname}-c++-${version}"
build_style=gnu-configure
hostmakedepends="automake libtool"
@ -12,6 +12,8 @@ homepage="https://capnproto.org"
distfiles="${homepage}/capnproto-c++-${version}.tar.gz"
checksum=c9a4c0bd88123064d483ab46ecee777f14d933359e23bff6fb4f4dbd28b4cd41
CXXFLAGS="-std=c++14"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" capnproto-devel"
configure_args+=" --with-external-capnp"