Skip to contentSkip to conversation

bluez5_utils: depends on BR2_TOOLCHAIN_HAS_SYNC_4

PATCH New Gustavo Zacarias 2 participants 2 messages Feb 7, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bluez5_utils: depends on BR2_TOOLCHAIN_HAS_SYNC_4

It uses __sync_fetch_and_add_4() and other 32-bit atomics, fixes:
http://autobuild.buildroot.net/results/498/4984850d872448c5702eac79b831891f77ad3cf0/

---
 package/bluez5_utils/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/bluez5_utils/Config.in +2 -0
index 57f8c45..18b7bbf 100644
@@ -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"
Signature · 1 line
2.4.10
#1 lore raw

PATCH 1/1 bluez5_utils: depends on BR2_TOOLCHAIN_HAS_SYNC_4

Dear Gustavo Zacarias,

Quoted 7 lines · Gustavo Zacarias

It uses __sync_fetch_and_add_4() and other 32-bit atomics, fixes:
http://autobuild.buildroot.net/results/498/4984850d872448c5702eac79b831891f77ad3cf0/

---
 package/bluez5_utils/Config.in | 2 ++
 1 file changed, 2 insertions(+)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com