aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2018-11-12 14:51:15 +1030
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-11-14 08:21:22 +0900
commit3bd9805090af843b25f97ffe5049f20ade1d86d6 (patch)
tree2da326631a9bc381329d63bc063091080d1cb9e3 /Makefile
parentkbuild: consolidate Clang compiler flags (diff)
downloadwireguard-linux-3bd9805090af843b25f97ffe5049f20ade1d86d6.tar.xz
wireguard-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