Skip to content

Commit

Permalink
BACKPORT: Makefile: Export clang toolchain variables
Browse files Browse the repository at this point in the history
The powerpc makefile will use these in it's boot wrapper.

Change-Id: I440cb333ae93b669c4c0faff218d765d8a6b3c23
Signed-off-by: Joel Stanley <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Link: https://git.kernel.org/linus/3bd9805090af843b25f97ffe5049f20ade1d86d6
Signed-off-by: Nathan Chancellor <[email protected]>
  • Loading branch information
shenki authored and R0rt1z2 committed Feb 21, 2024
1 parent 3da4e27 commit 0b0905b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,7 @@ endif
CLANG_FLAGS += -no-integrated-as
KBUILD_CFLAGS += $(CLANG_FLAGS)
KBUILD_AFLAGS += $(CLANG_FLAGS)
export CLANG_FLAGS
endif

# The arch Makefile can set ARCH_{CPP,A,C}FLAGS to override the default
Expand Down

0 comments on commit 0b0905b

Please sign in to comment.