diff options
author | Dan Albert <danalbert@google.com> | 2014-08-05 14:44:41 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-08-08 08:15:19 -0700 |
commit | 04cf31597021af3cd045dd9c50d94a87d0394023 (patch) | |
tree | 01c42b696964b6f7c0d67922bc7813c421b4a6a3 /core/combo/TARGET_linux-mips64.mk | |
parent | 908ab54fda172baa9a646259fafd8af35290f0a6 (diff) | |
download | build-04cf31597021af3cd045dd9c50d94a87d0394023.zip build-04cf31597021af3cd045dd9c50d94a87d0394023.tar.gz build-04cf31597021af3cd045dd9c50d94a87d0394023.tar.bz2 |
Inhibit implicit -Bsymolic in -shared.
Bug: 16853291
Change-Id: Id70488b077256a70137c4417f21be2c2d1d4341c
(cherry picked from commit b6bb71b85d506dcc4763290d72c4168afd541f7d)
Diffstat (limited to 'core/combo/TARGET_linux-mips64.mk')
-rw-r--r-- | core/combo/TARGET_linux-mips64.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/combo/TARGET_linux-mips64.mk b/core/combo/TARGET_linux-mips64.mk index b66389b..938b11c 100644 --- a/core/combo/TARGET_linux-mips64.mk +++ b/core/combo/TARGET_linux-mips64.mk @@ -172,7 +172,7 @@ define transform-o-to-shared-lib-inner $(hide) $(PRIVATE_CXX) \ -nostdlib -Wl,-soname,$(notdir $@) \ -Wl,--gc-sections \ - -shared \ + $(if $(filter true,$(PRIVATE_CLANG)),-shared,-Wl,-shared) \ $(PRIVATE_TARGET_GLOBAL_LD_DIRS) \ $(if $(filter true,$(PRIVATE_NO_CRT)),,$(PRIVATE_TARGET_CRTBEGIN_SO_O)) \ $(PRIVATE_ALL_OBJECTS) \ |