]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Default to building compat vDSO with clang when CONFIG_CC_IS_CLANG
authorWill Deacon <will@kernel.org>
Fri, 4 Oct 2019 13:08:13 +0000 (14:08 +0100)
committerWill Deacon <will@kernel.org>
Mon, 7 Oct 2019 12:31:45 +0000 (13:31 +0100)
commitb1cc84cf33dae506eb5f238728efe9aa5a5aca28
tree42d6b9a4826313a83bda21beb5b3ec7df5fbce53
parent5451b45f2930c214d52f4ce17ed8cda4c1023460
arm64: Default to building compat vDSO with clang when CONFIG_CC_IS_CLANG

Rather than force the use of GCC for the compat cross-compiler, instead
extract the target from CROSS_COMPILE_COMPAT and pass it to clang if the
main compiler is clang.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/Makefile