Skip to contentSkip to conversation

mosh: fix build with protobuf 3.6.0

PATCH New Fabrice Fontaine 2 participants 2 messages Jun 23, 2018 – Jun 24, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mosh: fix build with protobuf 3.6.0

protobuf now requires C++11

Fixes:
- http://autobuild.buildroot.net/results/6e4550e080a9d558b441dcc735b6be14f39fb03f

---
 package/mosh/mosh.mk | 3 +++
 1 file changed, 3 insertions(+)
package/mosh/mosh.mk +3 -0
index fa6ab17010..f9e335799d 100644
@@ -10,6 +10,9 @@ MOSH_DEPENDENCIES = zlib ncurses protobuf host-pkgconf
 MOSH_LICENSE = GPL-3.0+ with exception
 MOSH_LICENSE_FILES = COPYING COPYING.iOS
 
+# protobuf needs c++11 (since 3.6.0)
+MOSH_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"
+
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 MOSH_CONF_OPTS += --with-crypto-library=openssl
 MOSH_DEPENDENCIES += openssl
Signature · 1 line
2.14.1