capnproto: build with std=c++14
This commit is contained in:
parent
c830164053
commit
e1c7ce4003
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'capnproto'
|
# Template file for 'capnproto'
|
||||||
pkgname=capnproto
|
pkgname=capnproto
|
||||||
version=0.7.0
|
version=0.7.0
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="${pkgname}-c++-${version}"
|
wrksrc="${pkgname}-c++-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake libtool"
|
hostmakedepends="automake libtool"
|
||||||
|
@ -12,6 +12,8 @@ homepage="https://capnproto.org"
|
||||||
distfiles="${homepage}/capnproto-c++-${version}.tar.gz"
|
distfiles="${homepage}/capnproto-c++-${version}.tar.gz"
|
||||||
checksum=c9a4c0bd88123064d483ab46ecee777f14d933359e23bff6fb4f4dbd28b4cd41
|
checksum=c9a4c0bd88123064d483ab46ecee777f14d933359e23bff6fb4f4dbd28b4cd41
|
||||||
|
|
||||||
|
CXXFLAGS="-std=c++14"
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" capnproto-devel"
|
hostmakedepends+=" capnproto-devel"
|
||||||
configure_args+=" --with-external-capnp"
|
configure_args+=" --with-external-capnp"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue