summaryrefslogtreecommitdiffstats
path: root/tools/bpf
diff options
context:
space:
mode:
authorIvan Babrou <ivan@cloudflare.com>2018-12-19 21:08:03 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2018-12-19 21:57:25 +0100
commit9e88b9312acb9b80554c48b58668fb144720333a (patch)
tree4f306d4c2067caeade1f622de4c6ca66f8143038 /tools/bpf
parentxsk: simplify AF_XDP socket teardown (diff)
downloadlinux-9e88b9312acb9b80554c48b58668fb144720333a.tar.xz
linux-9e88b9312acb9b80554c48b58668fb144720333a.zip
tools: bpftool: do not force gcc as CC
This allows transparent cross-compilation with CROSS_COMPILE by relying on 7ed1c1901fe5 ("tools: fix cross-compile var clobbering"). Signed-off-by: Ivan Babrou <ivan@cloudflare.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/bpf')
-rw-r--r--tools/bpf/bpftool/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/bpf/bpftool/Makefile b/tools/bpf/bpftool/Makefile
index 1bea6b979082..492f0f24e2d3 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__ \