Export GLOBAL_[CLANG_]C[PP]FLAGS_NO_OVERRIDE to Make

am: 5efc706895

* commit '5efc70689589019e04c1a5fe8975dc2671c9ac7b':
  Export GLOBAL_[CLANG_]C[PP]FLAGS_NO_OVERRIDE to Make

Change-Id: Id5a7471f3cd83128cd537f948015eeb6dfd0bc4f
This commit is contained in:
Dan Willemsen
2016-05-28 02:32:54 +00:00
committed by android-build-merger

View File

@@ -36,6 +36,11 @@ func makeVarsProvider(ctx android.MakeVarsContext) {
ctx.Strict("LLVM_LINK", "${clangBin}/llvm-link")
ctx.StrictSorted("CLANG_CONFIG_UNKNOWN_CFLAGS", strings.Join(clangUnknownCflags, " "))
ctx.Strict("GLOBAL_CFLAGS_NO_OVERRIDE", "${noOverrideGlobalCflags}")
ctx.Strict("GLOBAL_CLANG_CFLAGS_NO_OVERRIDE", "${clangExtraNoOverrideCflags}")
ctx.Strict("GLOBAL_CPPFLAGS_NO_OVERRIDE", "")
ctx.Strict("GLOBAL_CLANG_CPPFLAGS_NO_OVERRIDE", "")
hostType := android.CurrentHostType()
arches := ctx.Config().HostArches[hostType]
makeVarsToolchain(ctx, "", android.Host, hostType, arches[0])