am 9db21482: Merge "stop using a custom linker script for static executables."

* commit '9db21482369c20120d6f4c1078ce7e0405ba3148':
  stop using a custom linker script for static executables.
This commit is contained in:
Nick Kralevich
2012-05-15 16:39:59 -07:00
committed by Android Git Automerger

View File

@@ -289,7 +289,7 @@ $(hide) $(PRIVATE_CXX) -nostdlib -Bdynamic -Wl,-T,$(BUILD_SYSTEM)/armelf.x \
endef
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 \
-o $@ \
$(TARGET_GLOBAL_LD_DIRS) \