Port GLOBAL[_CLANG]_CFLAGS_NO_OVERRIDE from make
Change-Id: I4f0f8ec7620e4477f60bf9cf1ae0c005470c89d4
This commit is contained in:
@@ -101,6 +101,12 @@ func init() {
|
||||
pctx.StaticVariable("clangExtraTargetCflags", strings.Join([]string{
|
||||
"-nostdlibinc",
|
||||
}, " "))
|
||||
|
||||
pctx.StaticVariable("clangExtraNoOverrideCflags", strings.Join([]string{
|
||||
"-Werror=address-of-temporary",
|
||||
"-Werror=null-dereference",
|
||||
"-Werror=return-type",
|
||||
}, " "))
|
||||
}
|
||||
|
||||
func clangFilterUnknownCflags(cflags []string) []string {
|
||||
|
Reference in New Issue
Block a user