Merge "stop using a custom linker script for static executables."
This commit is contained in:
committed by
Android (Google) Code Review
commit
003dc3cf43
@@ -288,7 +288,7 @@ $(hide) $(PRIVATE_CXX) -nostdlib -Bdynamic -fPIE -pie \
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define transform-o-to-static-executable-inner
|
define transform-o-to-static-executable-inner
|
||||||
$(hide) $(PRIVATE_CXX) -nostdlib -Bstatic -Wl,-T,$(BUILD_SYSTEM)/armelf.x \
|
$(hide) $(PRIVATE_CXX) -nostdlib -Bstatic \
|
||||||
-Wl,--gc-sections \
|
-Wl,--gc-sections \
|
||||||
-o $@ \
|
-o $@ \
|
||||||
$(TARGET_GLOBAL_LD_DIRS) \
|
$(TARGET_GLOBAL_LD_DIRS) \
|
||||||
|
Reference in New Issue
Block a user