Export GLOBAL_[CLANG_]C[PP]FLAGS_NO_OVERRIDE to Make am: 5efc706895 am: a002cea3e8

am: 05ca2c87f0

* commit '05ca2c87f0c7bbcbbc2a36fcb8b5e8d5aed838a1':
  Export GLOBAL_[CLANG_]C[PP]FLAGS_NO_OVERRIDE to Make

Change-Id: I86a00c4ecce946c8f852d3620bd35ef4578efb19
This commit is contained in:
Dan Willemsen
2016-05-28 02:37:52 +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])