From: Brett Mastbergen Date: Tue, 9 Jun 2020 21:35:06 +0000 (-0400) Subject: tools, bpf: Do not force gcc as CC X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=47f6bc4ce1ff70d7ba0924c2f1c218c96cd585fb;p=linux.git tools, bpf: Do not force gcc as CC 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 Signed-off-by: Daniel Borkmann Link: https://lore.kernel.org/bpf/20200609213506.3299-1-brett.mastbergen@gmail.com --- diff --git a/tools/bpf/Makefile b/tools/bpf/Makefile index 77472e28c8fde..6df1850f83530 100644 --- a/tools/bpf/Makefile +++ b/tools/bpf/Makefile @@ -3,7 +3,6 @@ include ../scripts/Makefile.include prefix ?= /usr/local -CC = gcc LEX = flex YACC = bison MAKE = make