[Buildroot] [PATCH 1/1] package/hiawatha: depends on BR2_TOOLCHAIN_HAS_SYNC_4

Fabrice Fontaine fontaine.fabrice at gmail.com
Wed Jul 17 22:02:15 UTC 2019


hiawatha uses __sync_add_and_fetch_ 4 and __sync_sub_and_fetch_4

Fixes:
 - http://autobuild.buildroot.org/results/396f3ec849229eea9298215fbb1e1aac9f48c677

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 package/hiawatha/Config.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/hiawatha/Config.in b/package/hiawatha/Config.in
index 68e47fde87..8f1908f6f4 100644
--- a/package/hiawatha/Config.in
+++ b/package/hiawatha/Config.in
@@ -1,11 +1,13 @@
 comment "hiawatha needs a toolchain w/ threads, dynamic library"
 	depends on BR2_USE_MMU
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4
 	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
 
 config BR2_PACKAGE_HIAWATHA
 	bool "hiawatha"
 	# needs fork()
 	depends on BR2_USE_MMU
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on !BR2_STATIC_LIBS
 	select BR2_PACKAGE_ZLIB
-- 
2.20.1



More information about the buildroot mailing list