summaryrefslogtreecommitdiffstats
path: root/package/git-crypt/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/git-crypt/Config.in')
-rw-r--r--package/git-crypt/Config.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/git-crypt/Config.in b/package/git-crypt/Config.in
index 362fe9a600..bb86219cf8 100644
--- a/package/git-crypt/Config.in
+++ b/package/git-crypt/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_GIT_CRYPT
bool "git-crypt"
depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
depends on BR2_USE_MMU # git
select BR2_PACKAGE_GIT # runtime
select BR2_PACKAGE_OPENSSL
@@ -10,6 +11,7 @@ config BR2_PACKAGE_GIT_CRYPT
https://www.agwa.name/projects/git-crypt/
-comment "git-crypt needs a toolchain w/ C++"
- depends on !BR2_INSTALL_LIBSTDCPP
+comment "git-crypt needs a toolchain w/ C++, gcc >= 4.9"
+ depends on !BR2_INSTALL_LIBSTDCPP \
+ || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
depends on BR2_USE_MMU
OpenPOWER on IntegriCloud