summaryrefslogtreecommitdiffstats
path: root/core/combo/TARGET_linux-mips.mk
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2014-05-29 15:10:44 -0700
committerStephen Hines <srhines@google.com>2014-05-29 17:54:07 -0700
commit0f9276d4ba6707ebc42be2aab1d9aae3dce14c80 (patch)
tree138da1c719ebb23a6ecf592735ce71c909a95eb8 /core/combo/TARGET_linux-mips.mk
parent2a2ba735df028a6168368a399b6df27a6ec33fa4 (diff)
downloadbuild-0f9276d4ba6707ebc42be2aab1d9aae3dce14c80.zip
build-0f9276d4ba6707ebc42be2aab1d9aae3dce14c80.tar.gz
build-0f9276d4ba6707ebc42be2aab1d9aae3dce14c80.tar.bz2
Add -shared to clang LDFLAGS.
TOT clang doesn't do the right thing with regards to -pie without this. Change-Id: Ic14cfb25d96359eb18899c09ebaf1d311e937d01
Diffstat (limited to 'core/combo/TARGET_linux-mips.mk')
-rw-r--r--core/combo/TARGET_linux-mips.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/combo/TARGET_linux-mips.mk b/core/combo/TARGET_linux-mips.mk
index a0b0294..c84ce8f 100644
--- a/core/combo/TARGET_linux-mips.mk
+++ b/core/combo/TARGET_linux-mips.mk
@@ -216,6 +216,7 @@ $(hide) $(PRIVATE_CXX) \
-nostdlib -Wl,-soname,$(notdir $@) \
-Wl,--gc-sections \
-Wl,-shared,-Bsymbolic \
+ -shared \
$(PRIVATE_TARGET_GLOBAL_LD_DIRS) \
$(if $(filter true,$(PRIVATE_NO_CRT)),,$(PRIVATE_TARGET_CRTBEGIN_SO_O)) \
$(PRIVATE_ALL_OBJECTS) \