summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2015-02-04 17:40:29 -0800
committerColin Cross <ccross@android.com>2015-02-04 17:40:29 -0800
commit5b869c0bbf8a2924ab69d86a98e9a25558d33494 (patch)
treedd21061e073d1d6ea6549a353d63c7499cb0281f
parenta6b6ed5fe9dd247684de5f35a0367be65876339e (diff)
downloadbionic-5b869c0bbf8a2924ab69d86a98e9a25558d33494.zip
bionic-5b869c0bbf8a2924ab69d86a98e9a25558d33494.tar.gz
bionic-5b869c0bbf8a2924ab69d86a98e9a25558d33494.tar.bz2
Use LOCAL_LDFLAGS_64 instead of enumerating 64-bit architectures
LOCAL_LDFLAGS_<arch> was being set for arm64, mips64, and x86_64. Use LOCAL_LDFLAGS_64 instead. Change-Id: Ib87855e8a7783f82461b707fffa7f1663e6be9c8
-rw-r--r--libc/Android.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/Android.mk b/libc/Android.mk
index c6a5066..0fca92d 100644
--- a/libc/Android.mk
+++ b/libc/Android.mk
@@ -1164,9 +1164,7 @@ LOCAL_SYSTEM_SHARED_LIBRARIES :=
# We'd really like to do this for all architectures, but since this wasn't done
# before, these symbols must continue to be exported on LP32 for binary
# compatibility.
-LOCAL_LDFLAGS_arm64 := -Wl,--exclude-libs,libgcc.a
-LOCAL_LDFLAGS_mips64 := -Wl,--exclude-libs,libgcc.a
-LOCAL_LDFLAGS_x86_64 := -Wl,--exclude-libs,libgcc.a
+LOCAL_LDFLAGS_64 := -Wl,--exclude-libs,libgcc.a
$(eval $(call patch-up-arch-specific-flags,LOCAL_CFLAGS,libc_common_cflags))
$(eval $(call patch-up-arch-specific-flags,LOCAL_SRC_FILES,libc_arch_dynamic_src_files))