Expose $(prefix)CLANG_SUPPORTED to make
am: 7b6d9b956d
Change-Id: I500e3d7aa8765a85c7edd2da320885a032f851c3
This commit is contained in:
commit
3f5e5a3714
1 changed files with 4 additions and 0 deletions
|
@ -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"))
|
||||||
|
|
Loading…
Reference in a new issue