znc: needs gcc >= 4.7
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 1 Sep 2015 13:43:31 +0000 (10:43 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 1 Sep 2015 19:58:37 +0000 (21:58 +0200)
Fixes:
http://autobuild.buildroot.net/results/aba/aba13674fb3624e0bd6a3b1e17f28883e298c8ca/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/znc/Config.in

index 4328c8b6fa6de7b88e9d18a12fe406f238d8667e..154d4b0789c3f31c02a84e9f5b42c6678eea8518 100644 (file)
@@ -3,11 +3,13 @@ config BR2_PACKAGE_ZNC
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_MMU # fork()
        depends on !BR2_STATIC_LIBS
+       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
        help
          Advanced IRC bouncer
 
          http://www.znc.in
 
-comment "znc needs a toolchain w/ C++, dynamic library"
-       depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS
+comment "znc needs a toolchain w/ C++, dynamic library, gcc >= 4.7"
+       depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
+               !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
        depends on BR2_USE_MMU