mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-05 14:04:35 +00:00
tools: bpftool: do not force gcc as CC
This allows transparent cross-compilation with CROSS_COMPILE by
relying on 7ed1c1901f
("tools: fix cross-compile var clobbering").
Signed-off-by: Ivan Babrou <ivan@cloudflare.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
This commit is contained in:
parent
e2ce367488
commit
9e88b9312a
1 changed files with 0 additions and 2 deletions
|
@ -35,8 +35,6 @@ $(LIBBPF)-clean:
|
||||||
prefix ?= /usr/local
|
prefix ?= /usr/local
|
||||||
bash_compdir ?= /usr/share/bash-completion/completions
|
bash_compdir ?= /usr/share/bash-completion/completions
|
||||||
|
|
||||||
CC = gcc
|
|
||||||
|
|
||||||
CFLAGS += -O2
|
CFLAGS += -O2
|
||||||
CFLAGS += -W -Wall -Wextra -Wno-unused-parameter -Wshadow -Wno-missing-field-initializers
|
CFLAGS += -W -Wall -Wextra -Wno-unused-parameter -Wshadow -Wno-missing-field-initializers
|
||||||
CFLAGS += -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ \
|
CFLAGS += -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ \
|
||||||
|
|
Loading…
Add table
Reference in a new issue