linux-stable/tools/lib/subcmd
David Carrillo-Cisneros 3866058ef1 perf tools: Robustify detection of clang binary
Prior to this patch, make scripts tested for CLANG with ifeq ($(CC),
clang), failing to detect CLANG binaries with different names. Fix it by
testing for the existence of __clang__ macro in the list of compiler
defined macros.

Signed-off-by: David Carrillo-Cisneros <davidcc@google.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Paul Turner <pjt@google.com>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/20170827075442.108534-5-davidcc@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2017-08-28 16:44:46 -03:00
..
Build
exec-cmd.c
exec-cmd.h tools subcmd: Rename subcmd header include guards 2015-12-17 14:27:14 -03:00
help.c tools include: Adopt strstarts() from the kernel 2017-07-20 15:46:10 -03:00
help.h perf tools: Remove string.h, unistd.h and sys/stat.h from util.h 2017-04-24 13:43:33 -03:00
Makefile perf tools: Robustify detection of clang binary 2017-08-28 16:44:46 -03:00
pager.c perf tools: Query terminal width and use in perf list 2016-10-03 21:35:45 -03:00
pager.h perf tools: Query terminal width and use in perf list 2016-10-03 21:35:45 -03:00
parse-options.c tools include: Adopt strstarts() from the kernel 2017-07-20 15:46:10 -03:00
parse-options.h tools lib subcmd: Fix missing member name 2017-01-16 14:59:15 -03:00
run-command.c tools lib subcmd: Use str_error_r() 2016-07-12 15:20:30 -03:00
run-command.h tools subcmd: Rename subcmd header include guards 2015-12-17 14:27:14 -03:00
sigchain.c
sigchain.h tools subcmd: Rename subcmd header include guards 2015-12-17 14:27:14 -03:00
subcmd-config.c
subcmd-config.h
subcmd-util.h tools lib string: Adopt prefixcmp() from perf and subcmd 2017-04-26 15:49:21 -03:00