From: Michael Tremer Date: Wed, 1 Jan 2025 17:37:52 +0000 (+0000) Subject: stripper: Don't strip unneeded stuff X-Git-Tag: 0.9.30~598 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9793b1a663310a41ba52a2f3e6bff78690d5eb9;p=pakfire.git stripper: Don't strip unneeded stuff We will otherwise loose the symtab and then we cannot perform the SSP check any more. Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/stripper.c b/src/libpakfire/stripper.c index eaa9c3b0f..cf05be9d5 100644 --- a/src/libpakfire/stripper.c +++ b/src/libpakfire/stripper.c @@ -445,9 +445,6 @@ 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),