bluez5_utils: depends on BR2_TOOLCHAIN_HAS_SYNC_4
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Sun, 7 Feb 2016 16:43:15 +0000 (13:43 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 7 Feb 2016 21:23:07 +0000 (22:23 +0100)
It uses __sync_fetch_and_add_4() and other 32-bit atomics, fixes:
http://autobuild.buildroot.net/results/498/4984850d872448c5702eac79b831891f77ad3cf0/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/bluez5_utils/Config.in

index 57f8c452a833f664c411c34a6faa65806d43b91b..18b7bbf0e07b83a8cf750bb8b6abd038e6454664 100644 (file)
@@ -8,6 +8,7 @@ config BR2_PACKAGE_BLUEZ5_UTILS
        depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
        # wordexp support not in our uClibc configuration
        depends on !BR2_TOOLCHAIN_USES_UCLIBC
+       depends on BR2_TOOLCHAIN_HAS_SYNC_4
        select BR2_PACKAGE_DBUS
        select BR2_PACKAGE_LIBGLIB2
        help
@@ -80,6 +81,7 @@ comment "bluez5-utils needs a glibc or musl toolchain w/ wchar, threads, headers
        depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
                !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS || \
                !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
+       depends on BR2_TOOLCHAIN_HAS_SYNC_4
        depends on BR2_USE_MMU
 
 comment "bluez5-utils conflicts with older bluez-utils version"