summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJoel Stanley2018-11-12 05:21:15 +0100
committerMasahiro Yamada2018-11-14 00:21:22 +0100
commit3bd9805090af843b25f97ffe5049f20ade1d86d6 (patch)
tree2da326631a9bc381329d63bc063091080d1cb9e3 /Makefile
parentkbuild: consolidate Clang compiler flags (diff)
downloadkernel-qcow2-linux-3bd9805090af843b25f97ffe5049f20ade1d86d6.tar.gz
kernel-qcow2-linux-3bd9805090af843b25f97ffe5049f20ade1d86d6.tar.xz
kernel-qcow2-linux-3bd9805090af843b25f97ffe5049f20ade1d86d6.zip
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c300ac16c895..96b4ea5adf91 100644
--- a/Makefile
+++ b/Makefile
@@ -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