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:
parent
f50e2bde1d
commit
499564b1d1
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue