aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maennich <maennich@google.com>2024-03-28 11:00:32 +0000
committerMatthias Maennich <maennich@google.com>2024-03-28 11:00:32 +0000
commit22f89fae28a87051baccd34ba2e5c1b2652b0edc (patch)
tree08552ecc60aaf7fdab4d8e5e7d17a1cff6e22763
parent5c3f803b9f4d620edd56cae14685c96914bde9ce (diff)
downloadelfutils-22f89fae28a87051baccd34ba2e5c1b2652b0edc.tar.gz
lib: do not use the elfutils-provided crc32 implementation
Instead rely on the implementation linked in with zlib. There are still usages of crc32.c as a re#define'd version. See e.g. libelf/libelf_crc32.c. Not providing a crc32 implementation with the same name avoids an ODR violation when linking with C++ code. Bug: 324274771 Change-Id: I99a16fe8c3869d3282850ea5a8d4e697aedf316a Signed-off-by: Matthias Maennich <maennich@google.com>
-rw-r--r--lib/Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Android.bp b/lib/Android.bp
index 9016e299..368c5712 100644
--- a/lib/Android.bp
+++ b/lib/Android.bp
@@ -10,5 +10,6 @@ cc_library_host_static {
"color.c", // uses argp
"dynamicsizehash*.c",
"printversion.c", // uses argp
+ "crc32.c",
],
}