From 5ee1c603d3b227e991b06062811c1d2fbc9e9185 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Mon, 6 Mar 2017 00:22:08 +0100 Subject: [PATCH] protobuf: build with -std=c++14 for qt5 compat --- srcpkgs/protobuf/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/protobuf/template b/srcpkgs/protobuf/template index cfc60f0b85..307cf24f18 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"