From c291feaf4a498411c4a83ae953c98c1454c74168bee75ef7648d304ff2727c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Wed, 22 Feb 2023 08:39:07 +0000 Subject: [PATCH] Accepting request 1067052 from home:marxin:branches:devel:gcc - Enable zstd compression algorithm (instead of zlib) for debug info sections by default. OBS-URL: https://build.opensuse.org/request/show/1067052 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=435 --- binutils.changes | 6 ++++++ binutils.spec | 6 ++++++ 2 files changed, 12 insertions(+) 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 \