Skip to content

Commit

Permalink
Makefile: Export clang toolchain variables
Browse files Browse the repository at this point in the history
commit 3bd9805 upstream.

The powerpc makefile will use these in it's boot wrapper.

Signed-off-by: Joel Stanley <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Signed-off-by: Nathan Chancellor <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
shenki authored and gregkh committed Jan 13, 2019
1 parent ff858d8 commit 72d217d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 72d217d

Please sign in to comment.