[gn build] don't build ubsan_minimal on mac
authorNico Weber <thakis@chromium.org>
Wed, 23 Jun 2021 02:21:18 +0000 (22:21 -0400)
committerNico Weber <thakis@chromium.org>
Wed, 23 Jun 2021 02:21:20 +0000 (22:21 -0400)
It doesn't build there, see http://45.33.8.238/macm1/12180/step_4.txt

llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn

index eff5bfe..ce32282 100644 (file)
@@ -1,13 +1,15 @@
 group("lib") {
   deps = [ "//compiler-rt/lib/profile" ]
   if (current_os == "linux") {
-    deps += [ "//compiler-rt/lib/msan" ]
+    deps += [
+      "//compiler-rt/lib/msan",
+      "//compiler-rt/lib/ubsan_minimal",
+     ]
   }
   if (current_os != "win") {
     deps += [
       "//compiler-rt/lib/asan",
       "//compiler-rt/lib/builtins",
-      "//compiler-rt/lib/ubsan_minimal",
     ]
     if (current_cpu == "x64" || current_cpu == "arm64") {
       deps += [ "//compiler-rt/lib/tsan" ]