am b7391efb
: Merge "Add -fuse-ld=bfd to x86 target"
* commit 'b7391efbf03d47876fd0747a5cf2199f6b4a503a': Add -fuse-ld=bfd to x86 target
This commit is contained in:
@@ -186,12 +186,14 @@ $(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 $@ \
|
||||
|
Reference in New Issue
Block a user