diff mbox series

tools: bpf: Do not force gcc as CC

Message ID 20200609213506.3299-1-brett.mastbergen@gmail.com
State Accepted
Delegated to: BPF Maintainers
Headers show
Series tools: bpf: Do not force gcc as CC | expand

Commit Message

Brett Mastbergen June 9, 2020, 9:35 p.m. UTC
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>
---
 tools/bpf/Makefile | 1 -
 1 file changed, 1 deletion(-)

Comments

Daniel Borkmann June 10, 2020, 11:43 a.m. UTC | #1
On 6/9/20 11:35 PM, Brett Mastbergen wrote:
> 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>

Applied, thanks!
diff mbox series

Patch

diff --git a/tools/bpf/Makefile b/tools/bpf/Makefile
index f897eeeb0b4f..50ef68749d4a 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