[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-3f643937aaab04881236b5aabec00f9802c1eda8@git.kernel.org>
Date: Thu, 20 Dec 2018 10:08:19 -0800
From: tip-bot for Jiri Olsa <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: mingo@...nel.org, peterz@...radead.org, hpa@...or.com,
jolsa@...nel.org, namhyung@...nel.org,
linux-kernel@...r.kernel.org, tglx@...utronix.de,
alexander.shishkin@...ux.intel.com, acme@...hat.com
Subject: [tip:perf/core] perf tools: Link libperf-jvmti.so with LDFLAGS
variable
Commit-ID: 3f643937aaab04881236b5aabec00f9802c1eda8
Gitweb: https://git.kernel.org/tip/3f643937aaab04881236b5aabec00f9802c1eda8
Author: Jiri Olsa <jolsa@...nel.org>
AuthorDate: Wed, 12 Dec 2018 14:29:40 +0100
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Tue, 18 Dec 2018 12:23:57 -0300
perf tools: Link libperf-jvmti.so with LDFLAGS variable
So we could propagate distro flags into libperf-jvmti.so library.
Signed-off-by: Jiri Olsa <jolsa@...nel.org>
Cc: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Link: http://lkml.kernel.org/r/20181212132940.840-1-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/perf/Makefile.perf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
index 22956a85e4c6..8c1350c591f2 100644
--- a/tools/perf/Makefile.perf
+++ b/tools/perf/Makefile.perf
@@ -654,7 +654,7 @@ $(LIBJVMTI_IN): FORCE
$(Q)$(MAKE) -f $(srctree)/tools/build/Makefile.build dir=jvmti obj=jvmti
$(OUTPUT)$(LIBJVMTI): $(LIBJVMTI_IN)
- $(QUIET_LINK)$(CC) -shared -Wl,-soname -Wl,$(LIBJVMTI) -o $@ $<
+ $(QUIET_LINK)$(CC) $(LDFLAGS) -shared -Wl,-soname -Wl,$(LIBJVMTI) -o $@ $<
endif
$(patsubst perf-%,%.o,$(PROGRAMS)): $(wildcard */*.h)
Powered by blists - more mailing lists