Apply rtti settings to linux_bionic

am: 10db384ff7

Change-Id: Iff569f350bf95c5b6c0c014073544edff545a5e8
This commit is contained in:
Dan Willemsen
2018-10-23 14:37:56 -07:00
committed by android-build-merger

View File

@@ -391,7 +391,7 @@ func (compiler *baseCompiler) compilerFlags(ctx ModuleContext, flags Flags, deps
flags.GlobalFlags = append([]string{"${config.ClangExternalCflags}"}, flags.GlobalFlags...)
}
if ctx.Device() {
if tc.Bionic() {
if Bool(compiler.Properties.Rtti) {
flags.CppFlags = append(flags.CppFlags, "-frtti")
} else {