[Buildroot] [git commit] package/dawgdic: needs gcc >= 4.7
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Aug 8 09:57:35 UTC 2015
commit: http://git.buildroot.net/buildroot/commit/?id=cf4bdbe74d5d8a45286facd58bfbaf9a3c8af71f
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
std::strtoll is only supported since C++11.
Fixes:
http://autobuild.buildroot.net/results/cae/cae3cda9be779ea8359f94d13bbbca97e68495ca/
Signed-off-by: Romain Naour <romain.naour at openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/dawgdic/Config.in | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/package/dawgdic/Config.in b/package/dawgdic/Config.in
index ce0b466..8ef9902 100644
--- a/package/dawgdic/Config.in
+++ b/package/dawgdic/Config.in
@@ -1,6 +1,8 @@
config BR2_PACKAGE_DAWGDIC
bool "dawgdic"
depends on BR2_INSTALL_LIBSTDCPP
+ # std=c11
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
help
dawgdic provides a library for building and accessing
dictionaries implemented with directed acyclic word graphs
@@ -13,5 +15,5 @@ config BR2_PACKAGE_DAWGDIC
https://github.com/stil/dawgdic
-comment "dawgdic needs a toolchain w/ C++"
- depends on !BR2_INSTALL_LIBSTDCPP
+comment "dawgdic needs a toolchain w/ C++, gcc >= 4.7"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
More information about the buildroot
mailing list