|
@@ -2,6 +2,7 @@ config BR2_PACKAGE_RE2
|
|
|
bool "re2"
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # needs C++11
|
|
|
+ depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
|
help
|
|
|
RE2 is a fast, safe, thread-friendly alternative
|
|
|
to backtracking regular expression engines like
|
|
@@ -10,5 +11,7 @@ config BR2_PACKAGE_RE2
|
|
|
|
|
|
https://github.com/google/re2
|
|
|
|
|
|
-comment "re2 needs a toolchain w/ C++, gcc >= 4.8"
|
|
|
- depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
|
|
+comment "re2 needs a toolchain w/ C++, threads, gcc >= 4.8"
|
|
|
+ depends on !BR2_INSTALL_LIBSTDCPP || \
|
|
|
+ !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
|
+ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|