From 34aa3f2354ffcdcf545567d9455ac2e217ca92ff Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Thu, 15 May 2014 21:42:41 +0300 Subject: [PATCH] libunwind: depend on libatomic_ops when available Signed-off-by: Baruch Siach Acked-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/libunwind/libunwind.mk | 4 ++++ 1 file changed, 4 insertions(+) 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)) -- 2.30.2