Skip to content

Commit 42b0ce6

Browse files
committed
bug_24465209_workaround shouldn't affect the host.
Use `target` rather than `arch` for the arm/x86 linker configuration. Change-Id: Iee6b923f2b7e6cc99fb46b50098d8dc41cf496ae
1 parent e797aab commit 42b0ce6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libc/Android.bp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,12 @@ cc_defaults {
120120
// ========================================================
121121
cc_defaults {
122122
name: "bug_24465209_workaround",
123-
arch: {
124-
arm: {
123+
target: {
124+
android_arm: {
125125
pack_relocations: false,
126126
ldflags: ["-Wl,--hash-style=both"],
127127
},
128-
x86: {
128+
android_x86: {
129129
pack_relocations: false,
130130
ldflags: ["-Wl,--hash-style=both"],
131131
}

0 commit comments

Comments
 (0)