All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] perf:  remove dep on -lelf during libaudit check
@ 2010-11-30 22:12 Don Zickus
  2010-11-30 22:12 ` [PATCH 2/2] perf: add memcpy to perf packaging Don Zickus
  2010-12-01  1:08 ` [PATCH 1/2] perf: remove dep on -lelf during libaudit check Arnaldo Carvalho de Melo
  0 siblings, 2 replies; 5+ messages in thread
From: Don Zickus @ 2010-11-30 22:12 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: acme, LKML, Don Zickus

If your machine does not have the elfutils-devel installed on it,
then the check of libaudit will fail even though the machine has
the audit-libs-devel package installed.

The check for -lelf is unneeded.

Signed-off-by: Don Zickus <dzickus@redhat.com>
---
 tools/perf/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index b3e6bc6..78ca0b5 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -518,7 +518,7 @@ PERFLIBS = $(LIB_FILE)
 -include config.mak
 
 ifndef NO_AUDIT
-FLAGS_AUDIT=$(ALL_CFLAGS) -laudit $(ALL_LDFLAGS) $(EXTLIBS)
+FLAGS_AUDIT=$(ALL_CFLAGS) -laudit $(ALL_LDFLAGS)
 ifneq ($(call try-cc,$(SOURCE_AUDIT),$(FLAGS_AUDIT)),y)
 	msg := $(error No libaudit found. Please install audit-libs-dev/audit-libs-devel);
 	NO_AUDIT := 1
-- 
1.7.3.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-12-01  9:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-30 22:12 [PATCH 1/2] perf: remove dep on -lelf during libaudit check Don Zickus
2010-11-30 22:12 ` [PATCH 2/2] perf: add memcpy to perf packaging Don Zickus
2010-12-01  1:06   ` Arnaldo Carvalho de Melo
2010-12-01  9:13   ` [tip:perf/core] perf packaging: add memcpy to perf MANIFEST tip-bot for Don Zickus
2010-12-01  1:08 ` [PATCH 1/2] perf: remove dep on -lelf during libaudit check Arnaldo Carvalho de Melo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.