Skip to content

Commit

Permalink
tools/resolve_btfids: Tidy HOST_OVERRIDES
Browse files Browse the repository at this point in the history
commit e0975ab upstream.

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
Cc: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
captain5050 authored and gregkh committed Sep 13, 2023
1 parent b3f1d78 commit a2a9f5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/bpf/resolve_btfids/Makefile
Expand Up @@ -17,9 +17,9 @@ else
MAKEFLAGS=--no-print-directory
endif

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

RM ?= rm
HOSTCC ?= gcc
Expand Down

0 comments on commit a2a9f5b

Please sign in to comment.