]> git.ipfire.org Git - pakfire.git/commitdiff
stripper: (Re-)compress all debug information using Zstandard
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 31 Dec 2024 12:22:44 +0000 (12:22 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 31 Dec 2024 12:22:44 +0000 (12:22 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/stripper.c

index 916f09fbe42fa31139a1b36cfddfd422b7e44190..5d524aa2f2c0802675c58672823fdfe010a6016c 100644 (file)
@@ -435,6 +435,10 @@ static int pakfire_stripper_strip_debug_sections(struct pakfire_stripper* stripp
        const char* extract_argv[] = {
                "objcopy",
                "--only-keep-debug",
+
+               // (Re-)compress everything using Zstandard
+               "--compress-debug-sections=zstd",
+
                pakfire_relpath(stripper->pakfire, path),
                pakfire_relpath(stripper->pakfire, build_id_path),
                NULL,