Merge "Tweak linux_glibc properties for musl builds in bionic"

This commit is contained in:
Colin Cross 2022-03-15 03:47:57 +00:00 committed by Gerrit Code Review
commit 14e01ac5e2
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: [