[fuchsia] RTTI fix.

Change-Id: I7669cf08708551047d601cdff0b6e0a2e4fe149e
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/mesa/+/1050931
Reviewed-by: Craig Stout <cstout@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Fuchsia-Auto-Submit: Josh Gargus <jjosh@google.com>
diff --git a/src/gallium/auxiliary/BUILD.gn b/src/gallium/auxiliary/BUILD.gn
index 0fcfb10..28644d6 100644
--- a/src/gallium/auxiliary/BUILD.gn
+++ b/src/gallium/auxiliary/BUILD.gn
@@ -135,9 +135,9 @@
     "//third_party/mesa:LLVMHeader_config",
   ]
 
-  # Unlike the Fuchsia default, ASAN builds don't have "no_rtti".  This causes problems when linking
-  # with the LLVM prebuilts, which are built without RTTI.
-  if (is_asan) {
+  # Unlike the Fuchsia default, ASAN-UBSAN builds don't have "no_rtti".  This causes problems when
+  # linking with the LLVM prebuilts, which are built without RTTI.
+  if (is_ubsan) {
     configs += [ "//build/config:no_rtti" ]
   }
 }