Compiler-rt installation directory

i was trying to turn on the sanitizer with clang, but i need to build compiler-rt runtime with it, which i did.

the initial error i got is xxxx/lib/clang/9.0.1/lib/linux/libclang_rt.asan-x86_64.a: No such file or directory

I compiled the llvm and installed it, but the directory is lib/clang/9.0.1/lib/x86_64-unknown-linux-gnu/libclang_rt.asan-x86_64.a.

how do i change this directory to linux?