From: Joel Stanley Date: Mon, 12 Nov 2018 04:21:15 +0000 (+1030) Subject: Makefile: Export clang toolchain variables X-Git-Tag: v4.14.93~34 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=72d217d5df485027769cfc1a69e4d9bffaa30bfe;p=users%2Fjedix%2Flinux-maple.git Makefile: Export clang toolchain variables commit 3bd9805090af843b25f97ffe5049f20ade1d86d6 upstream. The powerpc makefile will use these in it's boot wrapper. Signed-off-by: Joel Stanley Signed-off-by: Masahiro Yamada Signed-off-by: Nathan Chancellor Signed-off-by: Greg Kroah-Hartman --- diff --git a/Makefile b/Makefile index 0d53ecf5983fc..6f7cca2abbd08 100644 --- a/Makefile +++ b/Makefile @@ -490,6 +490,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