diff options
author | Ivan Babrou <ivan@cloudflare.com> | 2018-12-19 12:08:03 -0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-12-19 21:57:25 +0100 |
commit | 9e88b9312acb9b80554c48b58668fb144720333a (patch) | |
tree | 4f306d4c2067caeade1f622de4c6ca66f8143038 | |
parent | e2ce3674883ecba2605370404208c9d4a07ae1c3 (diff) | |
download | lwn-9e88b9312acb9b80554c48b58668fb144720333a.tar.gz lwn-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>
-rw-r--r-- | tools/bpf/bpftool/Makefile | 2 |
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__ \ |