Skip to content

Commit

Permalink
tools: bpftool: do not force gcc as CC
Browse files Browse the repository at this point in the history
This allows transparent cross-compilation with CROSS_COMPILE by
relying on 7ed1c19 ("tools: fix cross-compile var clobbering").

Signed-off-by: Ivan Babrou <ivan@cloudflare.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
  • Loading branch information
Ivan Babrou authored and Daniel Borkmann committed Dec 19, 2018
1 parent e2ce367 commit 9e88b93
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tools/bpf/bpftool/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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__ \
Expand Down

0 comments on commit 9e88b93

Please sign in to comment.