perf tools: Use shell function for perl cflags retrieval
authorJiri Olsa <jolsa@kernel.org>
Wed, 8 Nov 2017 10:27:37 +0000 (11:27 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 16 Nov 2017 17:49:52 +0000 (14:49 -0300)
commit86f5fe01cf3ad42e99e7655dec93e0e36ef65614
tree49971e35cc07f03f612d705654297586a6a3a4e5
parentcbd5c1787bab4643e5959522275b46de94eba5ac
perf tools: Use shell function for perl cflags retrieval

Using the shell function for perl CFLAGS retrieval instead of back
quotes (``). Both execute shell with the command, but the latter is more
explicit and seems to be the preferred way.

Also we don't have any other use of the back quotes in perf Makefiles.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20171108102739.30338-2-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.config