Revert "add fix for full tools and sanitizer"
This reverts commit 6efacfb7a5.
This commit is contained in:
parent
6efacfb7a5
commit
4dab55bcaa
8 changed files with 16 additions and 43 deletions
|
|
@ -814,10 +814,6 @@ fn configure_cmake(
|
|||
cflags.push(s);
|
||||
}
|
||||
|
||||
if target.contains("ohos") {
|
||||
cflags.push(" -D_LINUX_SYSINFO_H");
|
||||
}
|
||||
|
||||
if builder.config.llvm_clang_cl.is_some() {
|
||||
cflags.push(format!(" --target={target}"));
|
||||
}
|
||||
|
|
@ -838,11 +834,6 @@ fn configure_cmake(
|
|||
cxxflags.push(" ");
|
||||
cxxflags.push(s);
|
||||
}
|
||||
|
||||
if target.contains("ohos") {
|
||||
cxxflags.push(" -D_LINUX_SYSINFO_H");
|
||||
}
|
||||
|
||||
if builder.config.llvm_clang_cl.is_some() {
|
||||
cxxflags.push(format!(" --target={target}"));
|
||||
}
|
||||
|
|
@ -1229,10 +1220,6 @@ impl Step for Sanitizers {
|
|||
cfg.define("COMPILER_RT_USE_LIBCXX", "OFF");
|
||||
cfg.define("LLVM_CONFIG_PATH", &llvm_config);
|
||||
|
||||
if self.target.contains("ohos") {
|
||||
cfg.define("COMPILER_RT_USE_BUILTINS_LIBRARY", "ON");
|
||||
}
|
||||
|
||||
// On Darwin targets the sanitizer runtimes are build as universal binaries.
|
||||
// Unfortunately sccache currently lacks support to build them successfully.
|
||||
// Disable compiler launcher on Darwin targets to avoid potential issues.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue