]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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 6e77a588b1c7 ("tools: fix cross-compile var clobbering").

Same change was applied to tools/bpf/bpftool/Makefile in
25c4829b8e3c ("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 77472e28c8fde4aed5706d1a3fbe8e75e8a1c647..6df1850f8353008dab6db131bb74dc039e32bec2 100644 (file)
@@ -3,7 +3,6 @@ include ../scripts/Makefile.include
 
 prefix ?= /usr/local
 
-CC = gcc
 LEX = flex
 YACC = bison
 MAKE = make