diff options
author | Stephen Hines <srhines@google.com> | 2016-07-18 13:25:36 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2016-07-18 13:33:25 -0700 |
commit | bb7473dd1a5423c62178d9271ce6a103f08561bd (patch) | |
tree | d6db407e48d2220fd62e722599d1942ad1e45df7 /cc/cc.go | |
parent | 3d92b27717f7c995ac1f63ec6ffba7d03b8bd46b (diff) | |
download | build_soong-bb7473dd1a5423c62178d9271ce6a103f08561bd.tar.gz build_soong-bb7473dd1a5423c62178d9271ce6a103f08561bd.tar.bz2 build_soong-bb7473dd1a5423c62178d9271ce6a103f08561bd.zip |
Switch libcompiler_rt-extras to LateStaticLibs.
Bug: http://b/28149048
Test: Rebuild world (and check on new clang dependencies).
The latest clang inserts even more dependencies for
libcompiler_rt-extras (in the form of __unorddf2/__unordtf2), so we need
to ensure that it gets linked after libm.a for binaries that statically
pull it in.
Change-Id: I22a1deb63a7ed05f77af6f91f0f7a21dcf156608
Diffstat (limited to 'cc/cc.go')
-rw-r--r-- | cc/cc.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1337,7 +1337,7 @@ func (linker *baseLinker) deps(ctx BaseModuleContext, deps Deps) Deps { deps.ReexportSharedLibHeaders = append(deps.ReexportSharedLibHeaders, linker.Properties.Export_shared_lib_headers...) if !ctx.sdk() && ctx.ModuleName() != "libcompiler_rt-extras" { - deps.StaticLibs = append(deps.StaticLibs, "libcompiler_rt-extras") + deps.LateStaticLibs = append(deps.LateStaticLibs, "libcompiler_rt-extras") } if ctx.Device() { |