lkml.org 
[lkml]   [2018]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf tools: Link libperf-jvmti.so with LDFLAGS variable
Em Wed, Dec 12, 2018 at 02:29:40PM +0100, Jiri Olsa escreveu:
> So we could propagate distro flags into libperf-jvmti.so library.

Thanks, applied.

- Arnaldo

> Link: http://lkml.kernel.org/n/tip-kb80gm9mmzkkcw2gkytbkkbq@git.kernel.org
> Signed-off-by: Jiri Olsa <jolsa@kernel.org>
> ---
> 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 5a90c0ef2302..6f35f4d46b0a 100644
> --- a/tools/perf/Makefile.perf
> +++ b/tools/perf/Makefile.perf
> @@ -660,7 +660,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)
> --
> 2.17.2

--

- Arnaldo

\
 
 \ /
  Last update: 2018-12-12 14:32    [W:0.031 / U:0.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site