Commit-ID:  ba5d1a48aab56a2677113d071b5b1446877b9a1a
Gitweb:     http://git.kernel.org/tip/ba5d1a48aab56a2677113d071b5b1446877b9a1a
Author:     David Carrillo-Cisneros <[email protected]>
AuthorDate: Sun, 27 Aug 2017 00:54:37 -0700
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Mon, 28 Aug 2017 16:44:44 -0300

tools build tests: Don't hardcode gcc name

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

Signed-off-by: David Carrillo-Cisneros <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Paul Turner <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
---
 tools/build/tests/ex/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/build/tests/ex/Makefile b/tools/build/tests/ex/Makefile
index c50d578..027d6c8 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=. $@

Reply via email to