tools, bpf: Do not force gcc as CC
authorBrett Mastbergen <brett.mastbergen@gmail.com>
Tue, 9 Jun 2020 21:35:06 +0000 (17:35 -0400)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 10 Jun 2020 11:40:04 +0000 (13:40 +0200)
This allows transparent cross-compilation with CROSS_COMPILE by
relying on 7ed1c1901fe5 ("tools: fix cross-compile var clobbering").

Same change was applied to tools/bpf/bpftool/Makefile in
9e88b9312acb ("tools: bpftool: do not force gcc as CC").

Signed-off-by: Brett Mastbergen <brett.mastbergen@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200609213506.3299-1-brett.mastbergen@gmail.com
tools/bpf/Makefile

index 77472e2..6df1850 100644 (file)
@@ -3,7 +3,6 @@ include ../scripts/Makefile.include
 
 prefix ?= /usr/local
 
-CC = gcc
 LEX = flex
 YACC = bison
 MAKE = make