]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blobdiff - package/libnss/Config.in
toolchain: GCC bug 85862
[coffee/buildroot.git] / package / libnss / Config.in
index 88b1fde2909bcfea87ef8d42b5f54d077c462a43..34ddb91dfa07e54253fb8e6e9bd7af71a4988c79 100644 (file)
@@ -1,11 +1,12 @@
 config BR2_PACKAGE_LIBNSS
        bool "libnss"
+       depends on BR2_TOOLCHAIN_HAS_THREADS # libnspr
+       depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT # libnspr
+       depends on !BR2_STATIC_LIBS
+       depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_85862
        select BR2_PACKAGE_LIBNSPR
        select BR2_PACKAGE_SQLITE
        select BR2_PACKAGE_ZLIB
-       depends on BR2_LARGEFILE
-       depends on BR2_TOOLCHAIN_HAS_THREADS # libnspr
-       depends on !BR2_arc # libnspr
        help
          Network Security Services (NSS) is a set of libraries designed
          to support development of security-enabled client and server
@@ -15,7 +16,9 @@ config BR2_PACKAGE_LIBNSS
 
          http://www.mozilla.org/projects/security/pki/nss/
 
-comment "libnss needs a toolchain w/ largefile, threads"
-       depends on !BR2_arc
-       depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
+comment "libnss needs a toolchain w/ threads, dynamic library"
+       depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
 
+comment "libnss needs a toolchain not affected by GCC bug 85862"
+       depends on BR2_TOOLCHAIN_HAS_GCC_BUG_85862