-
- Downloads
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>
Showing
- tools/lib/api/Makefile 1 addition, 1 deletiontools/lib/api/Makefile
- tools/lib/subcmd/Makefile 1 addition, 1 deletiontools/lib/subcmd/Makefile
- tools/perf/Makefile.config 2 additions, 2 deletionstools/perf/Makefile.config
- tools/perf/util/intel-pt-decoder/Build 1 addition, 1 deletiontools/perf/util/intel-pt-decoder/Build
- tools/scripts/Makefile.include 3 additions, 1 deletiontools/scripts/Makefile.include
Loading
Please register or sign in to comment