package/dawgdic: needs gcc >= 4.7
authorRomain Naour <romain.naour@openwide.fr>
Sat, 8 Aug 2015 09:35:43 +0000 (11:35 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 8 Aug 2015 09:57:35 +0000 (11:57 +0200)
std::strtoll is only supported since C++11.

Fixes:
http://autobuild.buildroot.net/results/cae/cae3cda9be779ea8359f94d13bbbca97e68495ca/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/dawgdic/Config.in

index ce0b46647d869c1210f58b289c81e1c6f5a79727..8ef9902ec12c6d64d5575a51f9643be1421dd172 100644 (file)
@@ -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