diff --git a/srcpkgs/protobuf/template b/srcpkgs/protobuf/template index cfc60f0b854..307cf24f18f 100644 --- a/srcpkgs/protobuf/template +++ b/srcpkgs/protobuf/template @@ -1,7 +1,7 @@ # Template file for 'protobuf' pkgname=protobuf version=2.6.1 -revision=4 +revision=5 build_style=gnu-configure hostmakedepends="automake libtool pkg-config" makedepends="zlib-devel" @@ -12,6 +12,8 @@ homepage="https://developers.google.com/protocol-buffers/" license="BSD" checksum=ee445612d544d885ae240ffbcbf9267faa9f593b7b101f21d58beceb92661910 +CXXFLAGS="-std=c++14" + if [ "$CROSS_BUILD" ]; then # needs host protoc hostmakedepends+=" protobuf"