Skip to contentSkip to conversation

tools: bpf: Do not force gcc as CC

PATCH Applied Brett Mastbergen 2 participants 2 messages Jun 9, 2020 – Jun 10, 2020 BPF

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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").

---
 tools/bpf/Makefile | 1 -
 1 file changed, 1 deletion(-)
tools/bpf/Makefile +0 -1
index f897eeeb0b4f..50ef68749d4a 100644
@@ -3,7 +3,6 @@ include ../scripts/Makefile.include
 
 prefix ?= /usr/local
 
-CC = gcc
 LEX = flex
 YACC = bison
 MAKE = make
Signature · 1 line
2.11.0
maintainer Applied
#1 lore raw
Quoted 7 lines · Brett Mastbergen

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").

Applied, thanks!