From: Baruch Siach Date: Thu, 15 May 2014 18:42:41 +0000 (+0300) Subject: libunwind: depend on libatomic_ops when available X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34aa3f2354ffcdcf545567d9455ac2e217ca92ff;p=buildroot.git libunwind: depend on libatomic_ops when available Signed-off-by: Baruch Siach Acked-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- 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))