protobuf: build with -std=c++14 for qt5 compat

This commit is contained in:
Jürgen Buchmüller 2017-03-06 00:22:08 +01:00
parent ca3c8ee629
commit 5ee1c603d3

View file

@ -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"