tools: bpftool: do not force gcc as CC
authorIvan Babrou <ivan@cloudflare.com>
Wed, 19 Dec 2018 20:08:03 +0000 (12:08 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 19 Dec 2018 20:57:25 +0000 (21:57 +0100)
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>
tools/bpf/bpftool/Makefile

index 1bea6b979082325e73cabeaaeb2aafd19d8d9edd..492f0f24e2d36bfde4e12a991610fa71000dd7ca 100644 (file)
@@ -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__ \