From: Michael Tremer Date: Thu, 30 Jun 2022 13:21:15 +0000 (+0000) Subject: stripper: Strip any PIE executables X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8ac8abb2695f0a780d078ed4f21412fc0113e29d;p=people%2Fstevee%2Fipfire-2.x.git stripper: Strip any PIE executables Fixes: #12894 Signed-off-by: Michael Tremer Reviewed-by: Peter Müller --- diff --git a/src/stripper b/src/stripper index fadbc514b8..4014f03a4f 100755 --- a/src/stripper +++ b/src/stripper @@ -38,6 +38,10 @@ function _strip() { args+=( "--strip-all" ) ;; + *Type:*"DYN (Position-Independent Executable file)"*) + args+=( "--strip-all" ) + ;; + # Binaries *Type:*"EXEC (Executable file)"*) args+=( "--strip-all" )