diff options
author | Colin Cross <ccross@android.com> | 2022-03-24 16:25:09 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2022-03-24 16:25:09 -0700 |
commit | a2b046a57848693a032c50d790606ac9ce86cd87 (patch) | |
tree | 2ae63dfae2eea8c5a2caec365b4464ff194d1c4b /verity | |
parent | d14f308fe65d808bf4eb4400b9ea3c0357b3b9aa (diff) | |
download | extras-a2b046a57848693a032c50d790606ac9ce86cd87.tar.gz |
Tweak linux_glibc properties for musl builds in system/extras
For convenience, builds against musl libc currently use the
linux_glibc properties because they are almost always linux-specific
and not glibc-specific. In preparation for removing this hack,
tweak the linux_glibc properties by either moving them to host_linux,
which will apply to linux_glibc, linux_musl and linux_bionic, or
by setting appropriate musl or linux_musl properties. Properties
that must not be repeated while musl uses linux_musl and also still
uses the linux_glibc properties are moved to glibc properties, which
don't apply to musl. Whether these stay as glibc properties or get
moved back to linux_glibc later once the musl hack is removed is TBD.
Bug: 223257095
Test: m checkbuild
Test: m USE_HOST_MUSL=true host-native
Change-Id: Iff2b4ec1465033e3e076774bc0c72b2cf966478c
Diffstat (limited to 'verity')
-rw-r--r-- | verity/fec/Android.bp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/verity/fec/Android.bp b/verity/fec/Android.bp index 9ca45600..ede5fd19 100644 --- a/verity/fec/Android.bp +++ b/verity/fec/Android.bp @@ -25,6 +25,11 @@ cc_binary_host { misc_undefined: ["integer"], }, }, + linux_musl_x86_64: { + sanitize: { + misc_undefined: ["integer"], + }, + }, linux: { static_libs: [ "libavb", |