Merge changes I47b8fdd9,Ifbd121ab

* changes:
  Return linux as host OS from getConfigString when using musl
  Use //build/bazel/platforms/os:linux_glibc for osLinux
This commit is contained in:
Colin Cross
2022-12-21 19:33:14 +00:00
committed by Gerrit Code Review
7 changed files with 22 additions and 22 deletions

View File

@@ -1204,7 +1204,7 @@ func getConfigString(key cqueryKey) string {
}
}
osName := key.configKey.osType.Name
if len(osName) == 0 || osName == "common_os" || osName == "linux_glibc" {
if len(osName) == 0 || osName == "common_os" || osName == "linux_glibc" || osName == "linux_musl" {
// Use host OS, which is currently hardcoded to be linux.
osName = "linux"
}