Skip to content

Commit f5103f5

Browse files
viktormalikfmaurer-rh
authored andcommitted
tools/resolve_btfids: Tidy HOST_OVERRIDES
Bugzilla: https://bugzilla.redhat.com/2178930 commit e0975ab Author: Ian Rogers <irogers@google.com> Date: Thu Feb 2 14:42:53 2023 -0800 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 Signed-off-by: Viktor Malik <vmalik@redhat.com>
1 parent a166d42 commit f5103f5

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)