aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2022-10-03 09:42:20 +0200
committerMartin Liska <mliska@suse.cz>2022-10-11 14:15:04 +0200
commitb0c295e1b8d0ec8af33c502a6b00b260d0425c04 (patch)
tree74b7af58b3c3d0d3613e26b3bf0e5a64150fa643 /configure
parent857bddbe737bc963bd9e5a3b24743a9bba5d2d7b (diff)
downloadgdb-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')
-rwxr-xr-xconfigure13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure b/configure
index 4d530e6..d7d9770 100755
--- a/configure
+++ b/configure
@@ -804,6 +804,7 @@ enable_gold
enable_ld
enable_gprofng
enable_compressed_debug_sections
+enable_default_compressed_debug_sections_algorithm
enable_year2038
enable_libquadmath
enable_libquadmath_support
@@ -1543,6 +1544,9 @@ Optional Features:
--enable-compressed-debug-sections={all,gas,gold,ld,none}
Enable compressed debug sections for gas, gold or ld
by default
+ --enable-default-compressed-debug-sections-algorithm={zlib,zstd}
+ Default compression algorithm for
+ --enable-compressed-debug-sections.
--enable-year2038 enable support for timestamps past the year 2038
--disable-libquadmath do not build libquadmath directory
--disable-libquadmath-support
@@ -3148,6 +3152,15 @@ else
fi
+# Select default compression algorithm.
+# Check whether --enable-default_compressed_debug_sections_algorithm was given.
+if test "${enable_default_compressed_debug_sections_algorithm+set}" = set; then :
+ enableval=$enable_default_compressed_debug_sections_algorithm;
+else
+ default_compressed_debug_sections_algorithm=
+fi
+
+
# Configure extra directories which are host specific
case "${host}" in