Skip to content

Commit f4c27d5

Browse files
shenkigregkh
authored andcommitted
Makefile: Export clang toolchain variables
commit 3bd9805 upstream. The powerpc makefile will use these in it's boot wrapper. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 1637d5d commit f4c27d5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ endif
493493
CLANG_FLAGS += -no-integrated-as
494494
KBUILD_CFLAGS += $(CLANG_FLAGS)
495495
KBUILD_AFLAGS += $(CLANG_FLAGS)
496+
export CLANG_FLAGS
496497
endif
497498

498499
RETPOLINE_CFLAGS_GCC := -mindirect-branch=thunk-extern -mindirect-branch-register

0 commit comments

Comments
 (0)