Move global asflags to config to share with Bazel
Test: CI Change-Id: Ib76bd63f9d021f581b232522d1206d968d7b1599
This commit is contained in:
@@ -493,11 +493,7 @@ func (compiler *baseCompiler) compilerFlags(ctx ModuleContext, flags Flags, deps
|
||||
}
|
||||
}
|
||||
|
||||
flags.Global.AsFlags = append(flags.Global.AsFlags, "-D__ASSEMBLY__")
|
||||
|
||||
// TODO(b/235105792): override global -fdebug-default-version=5, it is causing $TMPDIR to
|
||||
// end up in the dwarf data for crtend_so.S.
|
||||
flags.Global.AsFlags = append(flags.Global.AsFlags, "-fdebug-default-version=4")
|
||||
flags.Global.AsFlags = append(flags.Global.AsFlags, "${config.CommonGlobalAsflags}")
|
||||
|
||||
flags.Global.CppFlags = append(flags.Global.CppFlags, tc.Cppflags())
|
||||
|
||||
|
Reference in New Issue
Block a user