diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2014-04-15 11:54:06 -0700 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2014-04-15 11:54:06 -0700 |
commit | 50536c20affe5d720dd8164a39b82f8c78881911 (patch) | |
tree | 460a663947d97f06e9ad0eb761e13377f5d97ec8 /core/combo | |
parent | 22261a3f9b50dfb567ca072ec7ca2c77fd64e531 (diff) | |
download | build-50536c20affe5d720dd8164a39b82f8c78881911.zip build-50536c20affe5d720dd8164a39b82f8c78881911.tar.gz build-50536c20affe5d720dd8164a39b82f8c78881911.tar.bz2 |
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
Diffstat (limited to 'core/combo')
-rw-r--r-- | core/combo/TARGET_linux-arm64.mk | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ TARGET_GLOBAL_LDFLAGS += \ -Wl,-z,noexecstack \ -Wl,--warn-shared-textrel \ -Wl,--fatal-warnings \ + -Wl,-maarch64linux \ $(arch_variant_ldflags) TARGET_GLOBAL_CPPFLAGS += -fvisibility-inlines-hidden |