package/pinentry: add missing qt5 dependencies
authorPeter Seiderer <ps.report@gmx.net>
Tue, 10 Mar 2020 08:19:01 +0000 (09:19 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 15 Mar 2020 22:29:54 +0000 (23:29 +0100)
- BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
- !BR2_arc

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/pinentry/Config.in

index 9048edd21bedd19f7d374d3a129cd93e662588f3..ef709085020fdc223f748e82bb6495d911b3697c 100644 (file)
@@ -61,6 +61,8 @@ config BR2_PACKAGE_PINENTRY_QT5
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_WCHAR
        depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
+       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+       depends on !BR2_arc
        depends on !BR2_STATIC_LIBS
        select BR2_PACKAGE_QT5
        select BR2_PACKAGE_QT5BASE_GUI
@@ -68,8 +70,10 @@ config BR2_PACKAGE_PINENTRY_QT5
        help
          The pinentry-qt5 tool
 
-comment "pinentry-qt5 needs a toolchain w/ wchar, NPTL, C++, dynamic library"
+comment "pinentry-qt5 needs a toolchain w/ wchar, NPTL, gcc >= 4.8, C++, dynamic library"
+       depends on !BR2_arc
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
-               !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
+               !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
+               BR2_STATIC_LIBS
 
 endif