diff options
Diffstat (limited to 'cc/check.go')
-rw-r--r-- | cc/check.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/check.go b/cc/check.go index fa1926dd4..8e2844f16 100644 --- a/cc/check.go +++ b/cc/check.go @@ -40,6 +40,8 @@ func CheckBadCompilerFlags(ctx BaseModuleContext, prop string, flags []string) { ctx.PropertyErrorf(prop, "Bad flag: `%s`, use native_coverage instead", flag) } else if flag == "-fwhole-program-vtables" { ctx.PropertyErrorf(prop, "Bad flag: `%s`, use whole_program_vtables instead", flag) + } else if flag == "-gsplit-dwarf" { + ctx.PropertyErrorf(prop, "Bad flag: `%s`, soong cannot track dependencies to split dwarf debuginfo", flag) } else if flag == "-fno-integrated-as" { ctx.PropertyErrorf("Bad flag: `%s` is disallowed as it may invoke the `as` from the build host", flag) } else if flag == "-Weverything" { |