Apply rtti settings to linux_bionic
am: 10db384ff7
Change-Id: Iff569f350bf95c5b6c0c014073544edff545a5e8
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user