Merge "Tweak linux_glibc properties for musl builds in bionic" am: 14e01ac5e2 am: 6b6d8f1ee6

Original change: https://android-review.googlesource.com/c/platform/bionic/+/2019615

Change-Id: I40191447bc3ca05e7781ad69a7f5130e0b891f9b
This commit is contained in:
Colin Cross 2022-03-15 04:39:25 +00:00 committed by Automerger Merge Worker
commit 27116ca6af
2 changed files with 9 additions and 6 deletions

View file

@ -43,6 +43,9 @@ cc_defaults {
linux_glibc_x86: { linux_glibc_x86: {
enabled: false, enabled: false,
}, },
linux_musl_x86: {
enabled: false,
},
}, },
} }
@ -103,6 +106,11 @@ cc_defaults {
"-Wl,--rpath,${ORIGIN}/../../lib64", "-Wl,--rpath,${ORIGIN}/../../lib64",
], ],
}, },
linux_musl_x86_64: {
ldflags: [
"-Wl,--rpath,${ORIGIN}/../../lib64",
],
},
}, },
} }

View file

@ -28,16 +28,11 @@ cc_object {
name: "linker_wrapper", name: "linker_wrapper",
host_supported: true, host_supported: true,
device_supported: false, device_supported: false,
enabled: false,
target: { target: {
linux_bionic: { linux_bionic: {
enabled: true, enabled: true,
}, },
linux_glibc: {
enabled: false,
},
darwin: {
enabled: false,
},
}, },
cflags: [ cflags: [