lkml.org 
[lkml]   [2018]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 02/10] tools perf: Pass build flags to traceevent build
    Date
    So the extra user build flags are propagated to libtraceevent.

    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    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 b3006e9666d0..b71e0b50c09f 100644
    --- a/tools/perf/Makefile.perf
    +++ b/tools/perf/Makefile.perf
    @@ -630,7 +630,7 @@ endif

    $(patsubst perf-%,%.o,$(PROGRAMS)): $(wildcard */*.h)

    -LIBTRACEEVENT_FLAGS += plugin_dir=$(plugindir_SQ)
    +LIBTRACEEVENT_FLAGS += plugin_dir=$(plugindir_SQ) 'EXTRA_CFLAGS=$(EXTRA_CFLAGS)' 'LDFLAGS=$(LDFLAGS)'

    $(LIBTRACEEVENT): FORCE
    $(Q)$(MAKE) -C $(TRACE_EVENT_DIR) $(LIBTRACEEVENT_FLAGS) O=$(OUTPUT) $(OUTPUT)libtraceevent.a
    --
    2.17.2
    \
     
     \ /
      Last update: 2018-10-16 17:07    [W:5.163 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site