bug_24465209_workaround shouldn't affect the host.
Use `target` rather than `arch` for the arm/x86 linker configuration.
Change-Id: Iee6b923f2b7e6cc99fb46b50098d8dc41cf496ae
diff --git a/libc/Android.bp b/libc/Android.bp
index 40215a7..018b7c0 100644
--- a/libc/Android.bp
+++ b/libc/Android.bp
@@ -120,12 +120,12 @@
// ========================================================
cc_defaults {
name: "bug_24465209_workaround",
- arch: {
- arm: {
+ target: {
+ android_arm: {
pack_relocations: false,
ldflags: ["-Wl,--hash-style=both"],
},
- x86: {
+ android_x86: {
pack_relocations: false,
ldflags: ["-Wl,--hash-style=both"],
}