Merge "Migrate to the new clang lib dir"

This commit is contained in:
Yi Kong 2023-02-08 20:29:17 +00:00 committed by Gerrit Code Review
commit aa0833a8fb
2 changed files with 2 additions and 2 deletions

View file

@ -434,7 +434,7 @@ func init() {
pctx.StaticVariable("ClangBin", "${ClangPath}/bin")
pctx.StaticVariableWithEnvOverride("ClangShortVersion", "LLVM_RELEASE_VERSION", ClangDefaultShortVersion)
pctx.StaticVariable("ClangAsanLibDir", "${ClangBase}/linux-x86/${ClangVersion}/lib64/clang/${ClangShortVersion}/lib/linux")
pctx.StaticVariable("ClangAsanLibDir", "${ClangBase}/linux-x86/${ClangVersion}/lib/clang/${ClangShortVersion}/lib/linux")
// These are tied to the version of LLVM directly in external/llvm, so they might trail the host prebuilts
// being used for the rest of the build process.

View file

@ -52,7 +52,7 @@ var (
if ctx.Config().UseHostMusl() {
return "musl/lib/"
} else {
return "lib64/"
return "lib/"
}
})
_ = pctx.SourcePathVariable("bindgenClang",