protobuf: build with -std=c++14 for qt5 compat
This commit is contained in:
parent
ca3c8ee629
commit
5ee1c603d3
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'protobuf'
|
# Template file for 'protobuf'
|
||||||
pkgname=protobuf
|
pkgname=protobuf
|
||||||
version=2.6.1
|
version=2.6.1
|
||||||
revision=4
|
revision=5
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake libtool pkg-config"
|
hostmakedepends="automake libtool pkg-config"
|
||||||
makedepends="zlib-devel"
|
makedepends="zlib-devel"
|
||||||
|
@ -12,6 +12,8 @@ homepage="https://developers.google.com/protocol-buffers/"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
checksum=ee445612d544d885ae240ffbcbf9267faa9f593b7b101f21d58beceb92661910
|
checksum=ee445612d544d885ae240ffbcbf9267faa9f593b7b101f21d58beceb92661910
|
||||||
|
|
||||||
|
CXXFLAGS="-std=c++14"
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# needs host protoc
|
# needs host protoc
|
||||||
hostmakedepends+=" protobuf"
|
hostmakedepends+=" protobuf"
|
||||||
|
|
Loading…
Reference in a new issue