diff options
author | Joel Stanley <joel@jms.id.au> | 2018-11-11 23:21:15 -0500 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-11-13 18:21:22 -0500 |
commit | 3bd9805090af843b25f97ffe5049f20ade1d86d6 (patch) | |
tree | 2da326631a9bc381329d63bc063091080d1cb9e3 /Makefile | |
parent | 238bcbc4e07fad2fff99c5b157d0c37ccd4d093c (diff) |
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-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -498,6 +498,7 @@ endif | |||
498 | CLANG_FLAGS += -no-integrated-as | 498 | CLANG_FLAGS += -no-integrated-as |
499 | KBUILD_CFLAGS += $(CLANG_FLAGS) | 499 | KBUILD_CFLAGS += $(CLANG_FLAGS) |
500 | KBUILD_AFLAGS += $(CLANG_FLAGS) | 500 | KBUILD_AFLAGS += $(CLANG_FLAGS) |
501 | export CLANG_FLAGS | ||
501 | endif | 502 | endif |
502 | 503 | ||
503 | RETPOLINE_CFLAGS_GCC := -mindirect-branch=thunk-extern -mindirect-branch-register | 504 | RETPOLINE_CFLAGS_GCC := -mindirect-branch=thunk-extern -mindirect-branch-register |