bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Brett Mastbergen <brett.mastbergen@gmail.com>
To: bpf@vger.kernel.org
Cc: brett.mastbergen@gmail.com
Subject: [PATCH] tools: bpf: Do not force gcc as CC
Date: Tue,  9 Jun 2020 17:35:06 -0400	[thread overview]
Message-ID: <20200609213506.3299-1-brett.mastbergen@gmail.com> (raw)

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

             reply	other threads:[~2020-06-09 21:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-09 21:35 Brett Mastbergen [this message]
2020-06-10 11:43 ` [PATCH] tools: bpf: Do not force gcc as CC Daniel Borkmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200609213506.3299-1-brett.mastbergen@gmail.com \
    --to=brett.mastbergen@gmail.com \
    --cc=bpf@vger.kernel.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).