diff options
author | Aleksei Vetrov <vvvvvv@google.com> | 2023-11-10 14:46:04 +0000 |
---|---|---|
committer | Aleksei Vetrov <vvvvvv@google.com> | 2023-11-14 17:44:40 +0000 |
commit | 100547ceb3989c3913511872b42268c0dc08e867 (patch) | |
tree | 246ef6cbe6d83256000420828f68211e7260b379 | |
parent | abb831b0b457a7d2e05e71f01784e4b457e4ea72 (diff) | |
download | elfutils-100547ceb3989c3913511872b42268c0dc08e867.tar.gz |
libdwfl: enable ZSTD compressed debug info support
Add zstd as elfutils dependency fix post_update script to allow ZSTD,
update config.
Bug: 309972007
Test: TH
Test: ./post_update.sh
Change-Id: I9372ccee5a1c59479c24c65255410b094f3f6ee0
Signed-off-by: Aleksei Vetrov <vvvvvv@google.com>
-rw-r--r-- | Android.bp | 2 | ||||
-rw-r--r-- | config.h | 4 | ||||
-rwxr-xr-x | post_update.sh | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -46,6 +46,7 @@ cc_defaults { name: "elfutils_transitive_defaults", static_libs: [ "libz", + "libzstd", ], } @@ -169,7 +170,6 @@ cc_library_host_static { // Do not enabled compression support "libdwfl/bzip2.c", "libdwfl/lzma.c", - "libdwfl/zstd.c", // Those headers are incompatible with clang due to nested function // definitions. "libdwfl/dwfl_segment_report_module.c", @@ -189,10 +189,10 @@ #define USE_ZLIB 1 /* Support ZSTD (zst) decompression via -lzstd. */ -/* #undef USE_ZSTD */ +#define USE_ZSTD 1 /* zstd compression support */ -/* #undef USE_ZSTD_COMPRESS */ +#define USE_ZSTD_COMPRESS 1 /* Version number of package */ #define VERSION "0.189" diff --git a/post_update.sh b/post_update.sh index 7072c8f4..9079e374 100755 --- a/post_update.sh +++ b/post_update.sh @@ -11,7 +11,7 @@ if [ "$1" != "" ]; then cd $1 fi -autoreconf -i && ./configure --enable-maintainer-mode --disable-debuginfod --disable-libdebuginfod --without-lzma --without-bzlib --without-zstd +autoreconf -i && ./configure --enable-maintainer-mode --disable-debuginfod --disable-libdebuginfod --without-lzma --without-bzlib # if called from the external_updater, do not apply any patches as it will do # that for us |