1
0
Fork 0

Makefile: Export clang toolchain variables

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>
hifive-unleashed-5.1
Joel Stanley 2018-11-12 14:51:15 +10:30 committed by Masahiro Yamada
parent 238bcbc4e0
commit 3bd9805090
1 changed files with 1 additions and 0 deletions

View File

@ -498,6 +498,7 @@ endif
CLANG_FLAGS += -no-integrated-as
KBUILD_CFLAGS += $(CLANG_FLAGS)
KBUILD_AFLAGS += $(CLANG_FLAGS)
export CLANG_FLAGS
endif
RETPOLINE_CFLAGS_GCC := -mindirect-branch=thunk-extern -mindirect-branch-register