summaryrefslogtreecommitdiffstats
path: root/package/jsoncpp/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/jsoncpp/Config.in')
-rw-r--r--package/jsoncpp/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/jsoncpp/Config.in b/package/jsoncpp/Config.in
index 2c96f13266..83118c400c 100644
--- a/package/jsoncpp/Config.in
+++ b/package/jsoncpp/Config.in
@@ -1,4 +1,5 @@
config BR2_PACKAGE_JSONCPP
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
depends on BR2_INSTALL_LIBSTDCPP
bool "jsoncpp"
help
@@ -10,5 +11,5 @@ config BR2_PACKAGE_JSONCPP
https://github.com/open-source-parsers/jsoncpp
-comment "jsoncpp needs a toolchain w/ C++"
- depends on !BR2_INSTALL_LIBSTDCPP
+comment "jsoncpp needs a toolchain w/ C++, gcc >= 4.7"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
OpenPOWER on IntegriCloud