am 9e2b4718
: Merge "Use gold linker on x86"
* commit '9e2b4718a0e11a723904ba205a5156bae450be30': Use gold linker on x86
This commit is contained in:
commit
5c90337229
1 changed files with 0 additions and 3 deletions
|
@ -186,14 +186,11 @@ $(hide) $(PRIVATE_CXX) \
|
|||
endef
|
||||
|
||||
|
||||
# Add -fuse-ld=bfd because ld.gold doesn't support "--copy-dt-needed-entries".
|
||||
define transform-o-to-executable-inner
|
||||
$(hide) $(PRIVATE_CXX) \
|
||||
$(TARGET_GLOBAL_LDFLAGS) \
|
||||
-nostdlib -Bdynamic \
|
||||
-Wl,-dynamic-linker,/system/bin/linker \
|
||||
-Wl,--copy-dt-needed-entries \
|
||||
-fuse-ld=bfd \
|
||||
-Wl,-z,nocopyreloc \
|
||||
-fPIE -pie \
|
||||
-o $@ \
|
||||
|
|
Loading…
Reference in a new issue