All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools: bpf: Do not force gcc as CC
@ 2020-06-09 21:35 Brett Mastbergen
  2020-06-10 11:43 ` Daniel Borkmann
  0 siblings, 1 reply; 2+ messages in thread
From: Brett Mastbergen @ 2020-06-09 21:35 UTC (permalink / raw)
  To: bpf; +Cc: 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").

Signed-off-by: Brett Mastbergen <brett.mastbergen@gmail.com>
---
 tools/bpf/Makefile | 1 -
 1 file changed, 1 deletion(-)

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
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] tools: bpf: Do not force gcc as CC
  2020-06-09 21:35 [PATCH] tools: bpf: Do not force gcc as CC Brett Mastbergen
@ 2020-06-10 11:43 ` Daniel Borkmann
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Borkmann @ 2020-06-10 11:43 UTC (permalink / raw)
  To: Brett Mastbergen, bpf

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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-10 11:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-09 21:35 [PATCH] tools: bpf: Do not force gcc as CC Brett Mastbergen
2020-06-10 11:43 ` Daniel Borkmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.