Skip to content

Commit e0975ab

Browse files
captain5050borkmann
authored andcommitted
tools/resolve_btfids: Tidy HOST_OVERRIDES
Don't set EXTRA_CFLAGS to HOSTCFLAGS, ensure CROSS_COMPILE isn't passed through. Signed-off-by: Ian Rogers <irogers@google.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Jiri Olsa <jolsa@kernel.org> Link: https://lore.kernel.org/bpf/20230202224253.40283-1-irogers@google.com
1 parent 56a2df7 commit e0975ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/bpf/resolve_btfids/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ else
1717
MAKEFLAGS=--no-print-directory
1818
endif
1919

20-
# always use the host compiler
20+
# Overrides for the prepare step libraries.
2121
HOST_OVERRIDES := AR="$(HOSTAR)" CC="$(HOSTCC)" LD="$(HOSTLD)" ARCH="$(HOSTARCH)" \
22-
EXTRA_CFLAGS="$(HOSTCFLAGS) $(KBUILD_HOSTCFLAGS)"
22+
CROSS_COMPILE=""
2323

2424
RM ?= rm
2525
HOSTCC ?= gcc

0 commit comments

Comments
 (0)