Expose $(prefix)CLANG_SUPPORTED to make

am: 7b6d9b956d

Change-Id: I500e3d7aa8765a85c7edd2da320885a032f851c3
This commit is contained in:
Dan Willemsen 2017-11-30 08:11:19 +00:00 committed by android-build-merger
commit 3f5e5a3714

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"))