commit | 50536c20affe5d720dd8164a39b82f8c78881911 | [log] [tgz] |
---|---|---|
author | Andrew Hsieh <andrewhsieh@google.com> | Tue Apr 15 11:54:06 2014 -0700 |
committer | Andrew Hsieh <andrewhsieh@google.com> | Tue Apr 15 11:54:06 2014 -0700 |
tree | 460a663947d97f06e9ad0eb761e13377f5d97ec8 | |
parent | 22261a3f9b50dfb567ca072ec7ca2c77fd64e531 [diff] [blame] |
Add -Wl,-maarch64linux The "-maarch64linux" switch is needed before aarch64-*4.8 is rebuilt with backport of upstream patch, see https://android-review.googlesource.com/#/c/91099/ The existing ld.bfd is fine because it's configured to support aarch64linux only. ld.mcld (see https://android-review.googlesource.com/#/c/91047) needs explicit emulation switch because it supports multiple targets Change-Id: Idc1a491c5722ea9e26db917b667b1000bccc1f60
diff --git a/core/combo/TARGET_linux-arm64.mk b/core/combo/TARGET_linux-arm64.mk index e894f6d..6bb3754 100644 --- a/core/combo/TARGET_linux-arm64.mk +++ b/core/combo/TARGET_linux-arm64.mk
@@ -114,6 +114,7 @@ -Wl,-z,noexecstack \ -Wl,--warn-shared-textrel \ -Wl,--fatal-warnings \ + -Wl,-maarch64linux \ $(arch_variant_ldflags) TARGET_GLOBAL_CPPFLAGS += -fvisibility-inlines-hidden