Merge "Do not explicitly link ucrt, ucrtbase" am: c6453295a2
Change-Id: Ia5f3fc6d1032cb1ea664fe6d994d2e66ef1ab823
This commit is contained in:
@@ -235,11 +235,6 @@ func (stl *stl) flags(ctx ModuleContext, flags Flags) Flags {
|
|||||||
flags.Local.CppFlags = append(flags.Local.CppFlags, "-nostdinc++")
|
flags.Local.CppFlags = append(flags.Local.CppFlags, "-nostdinc++")
|
||||||
flags.extraLibFlags = append(flags.extraLibFlags, "-nostdlib++")
|
flags.extraLibFlags = append(flags.extraLibFlags, "-nostdlib++")
|
||||||
if ctx.Windows() {
|
if ctx.Windows() {
|
||||||
if stl.Properties.SelectedStl == "libc++_static" {
|
|
||||||
// These are transitively needed by libc++_static.
|
|
||||||
flags.extraLibFlags = append(flags.extraLibFlags,
|
|
||||||
"-lmsvcrt", "-lucrt")
|
|
||||||
}
|
|
||||||
// Use SjLj exceptions for 32-bit. libgcc_eh implements SjLj
|
// Use SjLj exceptions for 32-bit. libgcc_eh implements SjLj
|
||||||
// exception model for 32-bit.
|
// exception model for 32-bit.
|
||||||
if ctx.Arch().ArchType == android.X86 {
|
if ctx.Arch().ArchType == android.X86 {
|
||||||
|
Reference in New Issue
Block a user