From patchwork Thu May 15 18:42:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 349334 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id BB1D8140082 for ; Fri, 16 May 2014 04:43:02 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7EDBF8CB31; Thu, 15 May 2014 18:43:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UdH8TNJ9283Y; Thu, 15 May 2014 18:42:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id AFDCD8CB49; Thu, 15 May 2014 18:42:59 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id BB7C91BF95B for ; Thu, 15 May 2014 18:42:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B77BB8CB49 for ; Thu, 15 May 2014 18:42:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GI3LDQGx5X2S for ; Thu, 15 May 2014 18:42:56 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mx.tkos.co.il (guitar.tcltek.co.il [192.115.133.116]) by whitealder.osuosl.org (Postfix) with ESMTPS id 501958CB31 for ; Thu, 15 May 2014 18:42:55 +0000 (UTC) Received: from tarshish.tkos.co.il (unknown [10.0.8.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPSA id 7AAB14400FE; Thu, 15 May 2014 21:42:51 +0300 (IDT) From: Baruch Siach To: buildroot@busybox.net Date: Thu, 15 May 2014 21:42:41 +0300 Message-Id: <85ff00479bda328ec3fa5dd9c7d7f3d0dce4d77d.1400179361.git.baruch@tkos.co.il> X-Mailer: git-send-email 2.0.0.rc0 Subject: [Buildroot] [PATCH] libunwind: depend on libatomic_ops when available X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Baruch Siach Acked-by: Thomas Petazzoni --- package/libunwind/libunwind.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/libunwind/libunwind.mk b/package/libunwind/libunwind.mk index 48dd0ec5bb08..a75a88848be9 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))