package/hiawatha: depends on BR2_TOOLCHAIN_HAS_SYNC_4
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 17 Jul 2019 22:02:15 +0000 (00:02 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 18 Jul 2019 18:26:50 +0000 (20:26 +0200)
Since its version 10.9, hiawatha uses __sync_add_and_fetch_ 4 and
__sync_sub_and_fetch_4. hiawatha was bumped from 10.6 to 10.9 by
commit 93ca4f965264964bc944bbff4ef6160e4b4a1a63.

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/hiawatha/Config.in

index 68e47fde87cde0a3e4d6f405e6bc98c6f0b22729..8f1908f6f4c1e3fc9322d822bb51758c706d4008 100644 (file)
@@ -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