Commit 43667714 authored by WANG Xuerui's avatar WANG Xuerui Committed by Yongzhen Zhang
Browse files

LoongArch: vDSO: Use CLANG_FLAGS instead of filtering out '--target='

mainline inclusion
from mainline-v6.5-rc1
commit b89673a9
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7MWTU


CVE: NA

--------------------------------

This is a port of commit 76d7fff2 ("MIPS: VDSO: Use CLANG_FLAGS
instead of filtering out '--target='") to arch/loongarch, for fixing
cross-compilation with Clang.

Signed-off-by: default avatarYongzhen Zhang <zhangyongzhen@kylinos.cn>
Reported-by: default avatarNathan Chancellor <nathan@kernel.org>
Reviewed-by: default avatarNathan Chancellor <nathan@kernel.org>
Link: https://github.com/ClangBuiltLinux/linux/issues/1787#issuecomment-1608306002


Signed-off-by: default avatarWANG Xuerui <git@xen0n.name>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent 81ea621b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment