summaryrefslogtreecommitdiffstats
path: root/package/libserial/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/libserial/Config.in')
-rw-r--r--package/libserial/Config.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/libserial/Config.in b/package/libserial/Config.in
index d492f6b71b..d54ae4d8ac 100644
--- a/package/libserial/Config.in
+++ b/package/libserial/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_LIBSERIAL
bool "libserial"
depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14
depends on BR2_TOOLCHAIN_HAS_THREADS # boost
depends on BR2_USE_WCHAR # boost
select BR2_PACKAGE_BOOST
@@ -10,5 +11,7 @@ config BR2_PACKAGE_LIBSERIAL
http://libserial.sourceforge.net/
-comment "libserial needs a toolchain w/ C++, threads, wchar"
- depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
+comment "libserial needs a toolchain w/ C++, gcc >= 5, threads, wchar"
+ depends on !BR2_INSTALL_LIBSTDCPP || \
+ !BR2_TOOLCHAIN_GCC_AT_LEAST_5 || \
+ !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
OpenPOWER on IntegriCloud