summaryrefslogtreecommitdiffstats
path: root/package/luvi
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-02-23 23:49:45 +0100
committerPeter Korsgaard <peter@korsgaard.com>2017-02-26 22:58:02 +0100
commit7c77d965bdcd301c2644004140faec613c1ee202 (patch)
tree36947777563df347416e046cada4b60211faea3d /package/luvi
parenta4b7bdd469e3d37ae7bd755db35bd52c2b0cce40 (diff)
downloadbuildroot-7c77d965bdcd301c2644004140faec613c1ee202.tar.gz
buildroot-7c77d965bdcd301c2644004140faec613c1ee202.zip
libuv: add dependency on BR2_TOOLCHAIN_HAS_SYNC_4
The libuv library uses __sync atomic built-ins: $ readelf -a -W output/target/usr/lib/libuv.so.1.0.0 | grep __sync 122: 00000000 0 NOTYPE GLOBAL DEFAULT UND __sync_val_compare_and_swap_4 but this is not currently taken into account in the libuv package, causing some build failures in packages using libuv as an optional dependency, such as janus-gateway and mosquitto. Therefore, this commit updates the libuv package with this additional dependency. The reverse dependencies of libuv are also updated: luv, luvi and moarvm. Fixes: - http://autobuild.buildroot.net/results/bdaa67d763c0d8d377a04529c74f73bee7d4ccef/ (janus-gateway) - http://autobuild.buildroot.net/results/2bc84ba2d1167018e2d48e5183ead22b6425dcf5/ (mosquitto) [Peter: drop cmake changes after cmake revert] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/luvi')
-rw-r--r--package/luvi/Config.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/luvi/Config.in b/package/luvi/Config.in
index 18317f401e..a9dd2ef740 100644
--- a/package/luvi/Config.in
+++ b/package/luvi/Config.in
@@ -4,6 +4,7 @@ config BR2_PACKAGE_LUVI
depends on BR2_USE_MMU # libuv
depends on !BR2_STATIC_LIBS # libuv
depends on BR2_PACKAGE_LUAJIT
+ depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
select BR2_PACKAGE_LIBUV
select BR2_PACKAGE_LUV
help
@@ -25,6 +26,7 @@ config BR2_PACKAGE_LUVI
comment "luvi needs a toolchain w/ NPTL, dynamic library"
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
depends on BR2_USE_MMU
+ depends on BR2_TOOLCHAIN_HAS_SYNC_4
comment "luvi needs LuaJIT"
depends on !BR2_PACKAGE_LUAJIT
OpenPOWER on IntegriCloud