diff --git a/binutils.changes b/binutils.changes index 59a066f..1fd6f25 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu Feb 23 09:11:50 UTC 2023 - Martin Liška + +- Disable ZSTD debug section compress by default. + +------------------------------------------------------------------- +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..e9649d4 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 @@ -385,6 +388,11 @@ cd build-dir --enable-warn-execstack=yes \ --enable-warn-rwx-segments=yes +#FIXME: enable in the future +#%if %{suse_version} > 1550 +# --enable-default-compressed-debug-sections-algorithm=zstd \ +#%endif + # we patch headers (bfd-in.h) that are input to other headers # which are generated only with --enable-maintainer-mode (which we # don't do) or explicitely by make headers, so do this: