protobuf-c: fix host build on GCC4

prereq-build.mk says that GCC 4.8 and above is supported. GCC 4.8
does not default to gnu++11. This fixes compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2020-05-23 21:16:25 -07:00
parent f50e2bde1d
commit 499564b1d1
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ endef
CMAKE_HOST_OPTIONS += \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_CXX_STANDARD=11 \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="${STAGING_DIR_HOSTPKG}/lib"