Expose $(prefix)CLANG_SUPPORTED to make am: 7b6d9b956d am: 3f5e5a3714

am: 13df65138b

Change-Id: I86b1ec372b03ab145311a284f57150d74b3eec48
This commit is contained in:
Dan Willemsen 2017-11-30 08:20:20 +00:00 committed by android-build-merger
commit 213bcb7d6d
1 changed files with 4 additions and 0 deletions

View File

@ -279,6 +279,10 @@ func makeVarsToolchain(ctx android.MakeVarsContext, secondPrefix string,
// This is used by external/gentoo/... // This is used by external/gentoo/...
ctx.Strict("CLANG_CONFIG_"+target.Arch.ArchType.Name+"_"+typePrefix+"TRIPLE", ctx.Strict("CLANG_CONFIG_"+target.Arch.ArchType.Name+"_"+typePrefix+"TRIPLE",
toolchain.ClangTriple()) toolchain.ClangTriple())
ctx.Strict(makePrefix+"CLANG_SUPPORTED", "true")
} else {
ctx.Strict(makePrefix+"CLANG_SUPPORTED", "")
} }
ctx.Strict(makePrefix+"CC", gccCmd(toolchain, "gcc")) ctx.Strict(makePrefix+"CC", gccCmd(toolchain, "gcc"))