diff --git a/binutils.changes b/binutils.changes index 59a066f..4fca8c0 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 21 15:32:02 UTC 2023 - Martin Liška + +- Enable zstd compression algorithm (instead of zlib) + for debug info sections by default. + ------------------------------------------------------------------- Mon Jan 30 09:18:59 UTC 2023 - Martin Liška diff --git a/binutils.spec b/binutils.spec index 72394e8..ef32ed7 100644 --- a/binutils.spec +++ b/binutils.spec @@ -61,6 +61,9 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif +%if %{suse_version} > 1500 +BuildRequires: libzstd-devel +%endif Version: 2.40 Release: 0 @@ -362,6 +365,9 @@ cd build-dir %endif %if %{suse_version} > 1320 --enable-compressed-debug-sections=gas \ +%if %{suse_version} > 1550 + --enable-default-compressed-debug-sections-algorithm=zstd \ +%endif %endif %if %{suse_version} < 1550 --disable-x86-used-note \