Commit ba5d1a48aab56a2677113d071b5b1446877b9a1a

Authored by David Carrillo-Cisneros
Committed by Arnaldo Carvalho de Melo
1 parent 9933183e36

tools build tests: Don't hardcode gcc name

Use $(CC) instead of harcoded gcc binary name.

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-2-davidcc@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

tools/build/tests/ex/Makefile
... ... @@ -8,7 +8,7 @@
8 8 include $(srctree)/tools/build/Makefile.include
9 9  
10 10 ex: ex-in.o libex-in.o
11   - gcc -o $@ $^
  11 + $(CC) -o $@ $^
12 12  
13 13 ex.%: fixdep FORCE
14 14 make -f $(srctree)/tools/build/Makefile.build dir=. $@