OSDN Git Service

Remove global linker search paths
authorColin Cross <ccross@android.com>
Fri, 9 Sep 2016 17:09:47 +0000 (10:09 -0700)
committerColin Cross <ccross@android.com>
Fri, 9 Sep 2016 18:01:15 +0000 (11:01 -0700)
commit067d7815302fa0eeb508e7f8f436392d8d719b10
tree13a422255083ebfa15dde90ffa507403ea196745
parentd81559e6ac6b2fca6653413ab10fcc1279409065
Remove global linker search paths

Remove the global linker search path, as it can cause spurious build
failures.  If a library with the same name as a system library is in the
process of being written to the directory in the global search path, and
the linker may try to read the partially-written built one instead of the
system one.  We already use full paths to libraries for target builds,
do the same for host builds.  Also remove the normalize library
functions, they are no longer necessary.

Test: m -j checkbuild
Bug: 31393456
Change-Id: If9fc631e111f568c700fd73e103445c30d7e9d11
core/combo/HOST_darwin-x86.mk
core/config.mk
core/definitions.mk
core/executable_internal.mk
core/shared_library_internal.mk