From: David Carrillo-Cisneros Date: Sun, 27 Aug 2017 07:54:37 +0000 (-0700) Subject: tools build tests: Don't hardcode gcc name X-Git-Tag: Ubuntu-5.10.0-12.13~9570^2^2~8 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=ba5d1a48aab56a2677113d071b5b1446877b9a1a;p=mirror_ubuntu-hirsute-kernel.git tools build tests: Don't hardcode gcc name Use $(CC) instead of harcoded gcc binary name. Signed-off-by: David Carrillo-Cisneros Acked-by: Jiri Olsa Cc: Alexander Shishkin Cc: Paul Turner Cc: Stephane Eranian Link: http://lkml.kernel.org/r/20170827075442.108534-2-davidcc@google.com Signed-off-by: Arnaldo Carvalho de Melo --- 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=. $@