libssh2: disable on broken nios2 toolchains
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 11 Nov 2015 14:35:29 +0000 (15:35 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 11 Nov 2015 14:35:29 +0000 (15:35 +0100)
Fixes:

  http://autobuild.buildroot.org/results/bcf/bcfd8287a8d3dec2d66aa8191910f4dab0d7be36/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libssh2/Config.in
package/php-ssh2/Config.in

index 017fd4061a40b6a43cf3ae5753cb8a383ca9d827..341624069a375d49c8cfd24abd8fcb5b7092e5bd 100644 (file)
@@ -1,6 +1,9 @@
 config BR2_PACKAGE_LIBSSH2
        bool "libssh2"
        select BR2_PACKAGE_LIBGCRYPT if !BR2_PACKAGE_OPENSSL
+       # Triggers the _gp link issue
+       depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
+       depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
        help
          libssh2 is a client-side C library implementing the SSH2
          protocol as defined by Internet Drafts: SECSH-TRANS(22),
index b4579007400fcde01ac30cd9c3274ffe228f92d6..bc31e1ddbd7536812e968e0f1862c852a4dc0759 100644 (file)
@@ -2,6 +2,9 @@ config BR2_PACKAGE_PHP_SSH2
        bool "php-ssh2"
        depends on BR2_PACKAGE_PHP
        select BR2_PACKAGE_LIBSSH2
+       # Triggers the _gp link issue (libssh2)
+       depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
+       depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
        help
          PHP bindings for the libssh2 library.