From: Michael Tremer Date: Thu, 2 Jan 2025 16:20:01 +0000 (+0000) Subject: stripper: Strip relocation information again X-Git-Tag: 0.9.30~587 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=670806ec04ed70c39bfd1fe8d22eb8ac65b971c4;p=pakfire.git stripper: Strip relocation information again Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/stripper.c b/src/libpakfire/stripper.c index cf05be9d5..eaa9c3b0f 100644 --- a/src/libpakfire/stripper.c +++ b/src/libpakfire/stripper.c @@ -445,6 +445,9 @@ static int pakfire_stripper_strip_debug_sections(struct pakfire_stripper* stripp // Ask to strip all debug information "--strip-debug", + // Strip anything unneeded + "--strip-unneeded", + // Add the debuglink "--remove-section=.gnu_debuglink", "--add-gnu-debuglink", pakfire_relpath(stripper->pakfire, build_id_path),