summaryrefslogtreecommitdiff
path: root/tools/bpf
diff options
context:
space:
mode:
authorIvan Babrou <ivan@cloudflare.com>2018-12-19 23:08:03 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2018-12-19 23:57:25 +0300
commit9e88b9312acb9b80554c48b58668fb144720333a (patch)
tree4f306d4c2067caeade1f622de4c6ca66f8143038 /tools/bpf
parente2ce3674883ecba2605370404208c9d4a07ae1c3 (diff)
downloadlinux-9e88b9312acb9b80554c48b58668fb144720333a.tar.xz
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__ \