aboutsummaryrefslogtreecommitdiff
path: root/package/libunwind
diff options
context:
space:
mode:
authorGravatar Baruch Siach <baruch@tkos.co.il>2014-05-15 21:42:41 +0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-05-16 16:11:20 +0200
commit34aa3f2354ffcdcf545567d9455ac2e217ca92ff (patch)
tree2e914103af47e2b24d4fed34b3e9e780b03a71cc /package/libunwind
parent23f7d8ece77bcb504d1b6f33a89ff0a8a32301a1 (diff)
downloadbuildroot-34aa3f2354ffcdcf545567d9455ac2e217ca92ff.tar.gz
buildroot-34aa3f2354ffcdcf545567d9455ac2e217ca92ff.tar.bz2
libunwind: depend on libatomic_ops when available
Signed-off-by: Baruch Siach <baruch@tkos.co.il> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libunwind')
-rw-r--r--package/libunwind/libunwind.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libunwind/libunwind.mk b/package/libunwind/libunwind.mk
index 48dd0ec5bb..a75a88848b 100644
--- a/package/libunwind/libunwind.mk
+++ b/package/libunwind/libunwind.mk
@@ -11,4 +11,8 @@ LIBUNWIND_LICENSE_FILES = COPYING
LIBUNWIND_LICENSE = MIT
LIBUNWIND_AUTORECONF = YES
+ifeq ($(BR2_PACKAGE_LIBATOMIC_OPS),y)
+LIBUNWIND_DEPENDENCIES = libatomic_ops
+endif
+
$(eval $(autotools-package))