summaryrefslogtreecommitdiffstats
path: root/package/git-crypt
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2018-08-20 21:40:56 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-08-20 22:24:59 +0200
commit995fb9a4ebca3acb5dc6eb22edee039b67bf5303 (patch)
tree959ca4ff3303606fef0c8bc1bd5409f204a05ff1 /package/git-crypt
parent68a29508974cf1de56b73bcf400944b2e6e2a705 (diff)
downloadbuildroot-995fb9a4ebca3acb5dc6eb22edee039b67bf5303.tar.gz
buildroot-995fb9a4ebca3acb5dc6eb22edee039b67bf5303.zip
package/git-crypt: fix build with gcc-4.9
Fixes In file included from commands.cpp:32:0: crypto.hpp:60:7: error: 'unique_ptr' in namespace 'std' does not name a template type std::unique_ptr<Aes_impl> impl; Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/git-crypt')
-rw-r--r--package/git-crypt/git-crypt.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/git-crypt/git-crypt.mk b/package/git-crypt/git-crypt.mk
index 507534c139..37e3d885a9 100644
--- a/package/git-crypt/git-crypt.mk
+++ b/package/git-crypt/git-crypt.mk
@@ -14,7 +14,8 @@ GIT_CRYPT_LIBS = `$(PKG_CONFIG_HOST_BINARY) --libs openssl`
define GIT_CRYPT_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
- LDFLAGS="$(TARGET_LDFLAGS) $(GIT_CRYPT_LIBS)" PREFIX=/usr
+ LDFLAGS="$(TARGET_LDFLAGS) $(GIT_CRYPT_LIBS)" \
+ CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" PREFIX=/usr
endef
define GIT_CRYPT_INSTALL_TARGET_CMDS
OpenPOWER on IntegriCloud