diff --git a/package/opensc/Config.in b/package/opensc/Config.in index 2cec096ac2..8c6a95a41d 100644 --- a/package/opensc/Config.in +++ b/package/opensc/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_OPENSC depends on !BR2_STATIC_LIBS depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pcsc-lite select BR2_PACKAGE_PCSC_LITE select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL @@ -13,6 +14,7 @@ config BR2_PACKAGE_OPENSC https://github.com/OpenSC/OpenSC/wiki -comment "opensc needs a toolchain with dynamic library, threads" +comment "opensc needs a toolchain with dynamic library, threads, gcc >= 4.9" depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9