Remove libgcov for now to fix X86 devices
We should be using libprofile_rt for clang builds, but we only need to add either one if code coverage is enabled. This will be added again when we get more complete support. Bug: 26525326 Change-Id: Ic3da07c896be266bb35747a79c184e3d5bb8df70
This commit is contained in:
2
cc/cc.go
2
cc/cc.go
@@ -1004,7 +1004,7 @@ func (c *CCLinked) depNames(ctx common.AndroidBaseContext, depNames CCDeps) CCDe
|
||||
|
||||
if ctx.Device() {
|
||||
// libgcc and libatomic have to be last on the command line
|
||||
depNames.LateStaticLibs = append(depNames.LateStaticLibs, "libgcov", "libatomic")
|
||||
depNames.LateStaticLibs = append(depNames.LateStaticLibs, "libatomic")
|
||||
if !Bool(c.Properties.No_libgcc) {
|
||||
depNames.LateStaticLibs = append(depNames.LateStaticLibs, "libgcc")
|
||||
}
|
||||
|
Reference in New Issue
Block a user