summaryrefslogtreecommitdiffstats
path: root/package/libxmlpp/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/libxmlpp/Config.in')
-rw-r--r--package/libxmlpp/Config.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/libxmlpp/Config.in b/package/libxmlpp/Config.in
index cb5f3c0ffb..0f2da98f24 100644
--- a/package/libxmlpp/Config.in
+++ b/package/libxmlpp/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBXMLPP
bool "libxml++"
select BR2_PACKAGE_LIBXML2
select BR2_PACKAGE_GLIBMM
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR # glibmm -> libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # glibmm -> libglib2
@@ -11,7 +12,7 @@ config BR2_PACKAGE_LIBXMLPP
http://libxmlplusplus.sourceforge.net/
-comment "libxml++ needs a toolchain w/ C++, wchar, threads"
- depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
- !BR2_TOOLCHAIN_HAS_THREADS
+comment "libxml++ needs a toolchain w/ C++, wchar, threads, gcc >= 4.8"
+ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_USE_WCHAR \
+ ||!BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_MMU
OpenPOWER on IntegriCloud