aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-07-18 00:02:15 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-07-18 20:26:50 +0200
commitb6140698f699d6dd63c15469f9b8b798eeaca7f5 (patch)
treef516f059d8b115738d1760435c2ee56faaa22b3d
parent2df5a4144b4b1cfd07ba59f0407c5bb43a9bce88 (diff)
downloadbuildroot-b6140698f699d6dd63c15469f9b8b798eeaca7f5.tar.gz
buildroot-b6140698f699d6dd63c15469f9b8b798eeaca7f5.tar.bz2
package/hiawatha: depends on BR2_TOOLCHAIN_HAS_SYNC_4
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>
-rw-r--r--package/hiawatha/Config.in2
1 files changed, 2 insertions, 0 deletions
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