diff options
author | Fangrui Song <maskray@google.com> | 2022-11-10 21:42:14 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-11-10 21:42:14 -0800 |
commit | 332a4eeaea69034b8ee6f50b931ce6734b55bf08 (patch) | |
tree | 81bc0da6df1402bc6773f0ad01f3c219c57b62cd /gold/configure.ac | |
parent | 1c343a13ba24eb2dad39a94df1a369a0f62efd13 (diff) | |
download | gdb-332a4eeaea69034b8ee6f50b931ce6734b55bf08.zip gdb-332a4eeaea69034b8ee6f50b931ce6734b55bf08.tar.gz gdb-332a4eeaea69034b8ee6f50b931ce6734b55bf08.tar.bz2 |
gold, dwp: support zstd compressed input debug sections [PR 29641]
This feature is enabled if config/zstd.m4 uses zstd.
Diffstat (limited to 'gold/configure.ac')
-rw-r--r-- | gold/configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gold/configure.ac b/gold/configure.ac index 25fae6b..44e858e 100644 --- a/gold/configure.ac +++ b/gold/configure.ac @@ -566,8 +566,10 @@ else AC_LIBOBJ(mremap) fi -# Link in zlib if we can. This allows us to write compressed sections. +# Link in zlib/zstd if we can. This allows us to write compressed sections. AM_ZLIB +AC_ZSTD +AM_CONDITIONAL(HAVE_ZSTD, test "$pkg_cv_ZSTD_LIBS" != "") AC_ARG_ENABLE([threads], [[ --enable-threads[=ARG] multi-threaded linking [ARG={auto,yes,no}]]], |