diff --git a/cc/compiler.go b/cc/compiler.go index 681b1ab90..e7495da88 100644 --- a/cc/compiler.go +++ b/cc/compiler.go @@ -300,8 +300,7 @@ func (compiler *baseCompiler) compilerFlags(ctx ModuleContext, flags Flags, deps if !(ctx.useSdk() || ctx.useVndk()) || ctx.Host() { flags.SystemIncludeFlags = append(flags.SystemIncludeFlags, "${config.CommonGlobalIncludes}", - tc.IncludeFlags(), - "${config.CommonNativehelperInclude}") + tc.IncludeFlags()) } if ctx.useSdk() {