jack2: Add dependency on atomic intrinsics
authorAnton Kolesov <anton.kolesov@synopsys.com>
Thu, 31 Jul 2014 13:24:44 +0000 (17:24 +0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 3 Aug 2014 09:22:24 +0000 (11:22 +0200)
Jack requires GCC built-in atomic functions which are architecture specific
and may not be implemented.

This fixes:
http://autobuild.buildroot.net/results/c218be876d3abf7a8e212b6d526595bfd835e1c5/

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/jack2/Config.in

index a443f5805f22d5602d6247e32209a30ecae9a6f9..82143c761de3ee3208adb326d3dbd0500923f726 100644 (file)
@@ -4,7 +4,7 @@ config BR2_PACKAGE_JACK2
        depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
        depends on BR2_USE_MMU # fork()
        depends on BR2_INSTALL_LIBSTDCPP
-       depends on !BR2_arc # missing compiler intrinsics
+       depends on BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS
        select BR2_PACKAGE_LIBSAMPLERATE
        select BR2_PACKAGE_LIBSNDFILE
        select BR2_PACKAGE_ALSA_LIB
@@ -21,8 +21,7 @@ config BR2_PACKAGE_JACK2
 
          http://jackaudio.org/
 
-comment "jack2 needs a toolchain w/ largefile, threads, C++"
+comment "jack2 needs a toolchain w/ largefile, threads, C++, atomic intrinsics"
        depends on BR2_USE_MMU
-       depends on !BR2_arc
        depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || \
-               !BR2_INSTALL_LIBSTDCPP
+               !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS