dawgdic: enable with gcc 4.6
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 8 Aug 2015 15:10:12 +0000 (17:10 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 8 Aug 2015 15:10:12 +0000 (17:10 +0200)
According to Nicolas Cavallari and confirmed by testing, std::strtoll
is indeed available in gcc 4.6, so the dawgdic package can be enabled
on gcc >= 4.6 instead of gcc >= 4.7.

Reported-by: Nicolas Cavallari <Nicolas.Cavallari@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/dawgdic/Config.in

index 8ef9902ec12c6d64d5575a51f9643be1421dd172..b67342b194471a06ae3b8ecb253520532d6ec7c1 100644 (file)
@@ -1,8 +1,8 @@
 config BR2_PACKAGE_DAWGDIC
        bool "dawgdic"
        depends on BR2_INSTALL_LIBSTDCPP
-       # std=c11
-       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
+       # needs std::strtoll
+       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
        help
          dawgdic provides a library for building and accessing
          dictionaries implemented with directed acyclic word graphs
@@ -15,5 +15,5 @@ config BR2_PACKAGE_DAWGDIC
 
          https://github.com/stil/dawgdic
 
-comment "dawgdic needs a toolchain w/ C++, gcc >= 4.7"
-       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
+comment "dawgdic needs a toolchain w/ C++, gcc >= 4.6"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_6