diff options
author | Martin Liska <mliska@suse.cz> | 2022-10-03 09:42:20 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2022-10-11 14:15:04 +0200 |
commit | b0c295e1b8d0ec8af33c502a6b00b260d0425c04 (patch) | |
tree | 74b7af58b3c3d0d3613e26b3bf0e5a64150fa643 /configure.ac | |
parent | 857bddbe737bc963bd9e5a3b24743a9bba5d2d7b (diff) | |
download | gdb-b0c295e1b8d0ec8af33c502a6b00b260d0425c04.zip gdb-b0c295e1b8d0ec8af33c502a6b00b260d0425c04.tar.gz gdb-b0c295e1b8d0ec8af33c502a6b00b260d0425c04.tar.bz2 |
add --enable-default-compressed-debug-sections-algorithm configure option
ChangeLog:
* configure.ac: Add --enable-default-compressed-debug-sections-algorithm.
* configure: Regenerate.
gas/ChangeLog:
* NEWS: Document the new option.
* as.c (flag_compress_debug): Set default algorithm based
on the configure option.
* configure.ac: Add --enable-default-compressed-debug-sections-algorithm.
* configure: Regenerate.
* config.in: Likewise.
ld/ChangeLog:
* NEWS: Document the new option.
* configure.ac: Add --enable-default-compressed-debug-sections-algorithm.
* configure: Regenerate.
* config.in: Likewise.
* ldmain.c: Set default algorithm based
on the configure option.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f9a224e..47931ff 100644 --- a/configure.ac +++ b/configure.ac @@ -426,6 +426,12 @@ AC_ARG_ENABLE(compressed_debug_sections, fi ], [enable_compressed_debug_sections=]) +# Select default compression algorithm. +AC_ARG_ENABLE(default_compressed_debug_sections_algorithm, +[AS_HELP_STRING([--enable-default-compressed-debug-sections-algorithm={zlib,zstd}], + [Default compression algorithm for --enable-compressed-debug-sections.])], +[], [default_compressed_debug_sections_algorithm=]) + # Configure extra directories which are host specific case "${host}" in |