allow arch_variants for C++'s rtti option

Currently, the RTTI setting is ignored for host builds, but we want to
change that. As a prereq, we need a way to explicitly enable/disable it
for host builds.

Bug: 341341056
Test: m
Change-Id: Ie503218181cec4f4ef70063caaa4832f748a8eb5
This commit is contained in:
Frederick Mayle 2024-06-07 16:02:44 -07:00
parent 4eef64a70b
commit 7833af17f9

View file

@ -101,7 +101,7 @@ type BaseCompilerProperties struct {
Generated_headers []string `android:"arch_variant,variant_prepend"`
// pass -frtti instead of -fno-rtti
Rtti *bool
Rtti *bool `android:"arch_variant"`
// C standard version to use. Can be a specific version (such as "gnu11"),
// "experimental" (which will use draft versions like C1x when available),