[Buildroot] [git commit] mosh: fix build with protobuf 3.6.0
Peter Korsgaard
peter at korsgaard.com
Sat Jun 23 21:04:43 UTC 2018
commit: https://git.buildroot.net/buildroot/commit/?id=c4e4110d22332fd35d629259ccdfe9b934c9c633
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
protobuf now requires C++11
Fixes:
- http://autobuild.buildroot.net/results/6e4550e080a9d558b441dcc735b6be14f39fb03f
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/mosh/mosh.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/mosh/mosh.mk b/package/mosh/mosh.mk
index fa6ab17010..f9e335799d 100644
--- a/package/mosh/mosh.mk
+++ b/package/mosh/mosh.mk
@@ -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
More information about the buildroot
mailing list