[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABWYdi2TYyK57rg9uyEN2YhQgFzm1ryKY64VdNH6Nq2zNPz72g@mail.gmail.com>
Date: Wed, 19 Dec 2018 12:08:03 -0800
From: Ivan Babrou <ivan@...udflare.com>
To: netdev@...r.kernel.org
Cc: sdf@...ichev.me, trivial@...nel.org, jolsa@...nel.org,
jakub.kicinski@...ronome.com, ast@...nel.org, daniel@...earbox.net
Subject: [PATCH] tools: bpftool: do not force gcc as CC
This allows transparent cross-compilation with CROSS_COMPILE.
Signed-off-by: Ivan Babrou <ivan@...udflare.com>
---
tools/bpf/bpftool/Makefile | 2 --
1 file changed, 2 deletions(-)
diff --git a/tools/bpf/bpftool/Makefile b/tools/bpf/bpftool/Makefile
index dac7eff4c7e5..ee906f597f21 100644
--- a/tools/bpf/bpftool/Makefile
+++ b/tools/bpf/bpftool/Makefile
@@ -35,8 +35,6 @@ $(LIBBPF)-clean:
prefix ?= /usr/local
bash_compdir ?= /usr/share/bash-completion/completions
-CC = gcc
-
CFLAGS += -O2
CFLAGS += -W -Wall -Wextra -Wno-unused-parameter -Wshadow
-Wno-missing-field-initializers
CFLAGS += -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ \
--
2.20.1
Powered by blists - more mailing lists