From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753165AbbEJHMr (ORCPT ); Sun, 10 May 2015 03:12:47 -0400 Received: from terminus.zytor.com ([198.137.202.10]:45019 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753111AbbEJHMn (ORCPT ); Sun, 10 May 2015 03:12:43 -0400 Date: Sun, 10 May 2015 00:12:30 -0700 From: "tip-bot for Naveen N. Rao" Message-ID: Cc: linux-kernel@vger.kernel.org, tglx@linutronix.de, naveen.n.rao@linux.vnet.ibm.com, hpa@zytor.com, acme@redhat.com, mingo@kernel.org Reply-To: hpa@zytor.com, naveen.n.rao@linux.vnet.ibm.com, mingo@kernel.org, acme@redhat.com, tglx@linutronix.de, linux-kernel@vger.kernel.org In-Reply-To: <1430306131-6780-1-git-send-email-naveen.n.rao@linux.vnet.ibm.com> References: <1430306131-6780-1-git-send-email-naveen.n.rao@linux.vnet.ibm.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf build: Disable libdw DWARF unwind when built with NO_DWARF Git-Commit-ID: 76d408498b08447e0f61dfdd611aeb6e8e61ce80 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 76d408498b08447e0f61dfdd611aeb6e8e61ce80 Gitweb: http://git.kernel.org/tip/76d408498b08447e0f61dfdd611aeb6e8e61ce80 Author: Naveen N. Rao AuthorDate: Wed, 29 Apr 2015 16:45:31 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 8 May 2015 16:43:14 -0300 perf build: Disable libdw DWARF unwind when built with NO_DWARF We get a linker error if we try to build with NO_DWARF since we build util/unwind-libdw.c, but do not include -ldw Signed-off-by: Naveen N. Rao Link: http://lkml.kernel.org/r/1430306131-6780-1-git-send-email-naveen.n.rao@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/config/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile index 435b6ca..1b957a1 100644 --- a/tools/perf/config/Makefile +++ b/tools/perf/config/Makefile @@ -268,6 +268,10 @@ else endif # libelf support endif # NO_LIBELF +ifdef NO_DWARF + NO_LIBDW_DWARF_UNWIND := 1 +endif + ifndef NO_LIBELF CFLAGS += -DHAVE_LIBELF_SUPPORT EXTLIBS += -lelf