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 /libfec | |
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 'libfec')
-rw-r--r-- | libfec/Android.bp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libfec/Android.bp b/libfec/Android.bp index c19f6a90..302d8e40 100644 --- a/libfec/Android.bp +++ b/libfec/Android.bp @@ -58,7 +58,7 @@ cc_defaults { "-DFEC_NO_KLOG", ], }, - linux_glibc: { + host_linux: { sanitize: { misc_undefined: ["integer"], }, |