summaryrefslogtreecommitdiffstats
path: root/tools/build/tests/ex
diff options
context:
space:
mode:
authorDavid Carrillo-Cisneros <davidcc@google.com>2017-08-27 00:54:37 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-08-28 16:44:44 -0300
commitba5d1a48aab56a2677113d071b5b1446877b9a1a (patch)
treec34efcad2f9e3d90a966756ada288325de8a8b06 /tools/build/tests/ex
parent9933183e365f7dd3a79507f1ffb4bcf9433a73ee (diff)
downloadlinux-ba5d1a48aab56a2677113d071b5b1446877b9a1a.tar.bz2
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>
Diffstat (limited to 'tools/build/tests/ex')
-rw-r--r--tools/build/tests/ex/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build/tests/ex/Makefile b/tools/build/tests/ex/Makefile
index c50d5782ad5a..027d6c8a58a7 100644
--- a/tools/build/tests/ex/Makefile
+++ b/tools/build/tests/ex/Makefile
@@ -8,7 +8,7 @@ ex:
include $(srctree)/tools/build/Makefile.include
ex: ex-in.o libex-in.o
- gcc -o $@ $^
+ $(CC) -o $@ $^
ex.%: fixdep FORCE
make -f $(srctree)/tools/build/Makefile.build dir=. $@