Merge "Add option to allow unknown warning options"
This commit is contained in:
@@ -375,6 +375,10 @@ func init() {
|
||||
flags = append(flags, llvmNextExtraCommonGlobalCflags...)
|
||||
}
|
||||
|
||||
if ctx.Config().IsEnvTrue("ALLOW_UNKNOWN_WARNING_OPTION") {
|
||||
flags = append(flags, "-Wno-error=unknown-warning-option")
|
||||
}
|
||||
|
||||
return strings.Join(flags, " ")
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user