From 8a13560ef80af0dd2fd130f76ad25399500416db Mon Sep 17 00:00:00 2001 From: Fredrik Rinnestam Date: Sat, 18 Feb 2017 18:04:41 +0100 Subject: pkgmk: Actually strip executables and objects. Patch by Roman Oreshnikov FS#1378 --- pkgmk.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgmk.in b/pkgmk.in index 6c45fcc2..d282e7e7 100755 --- a/pkgmk.in +++ b/pkgmk.in @@ -426,10 +426,10 @@ strip_files() { find . -type f -printf "%P\n" | $FILTER | while read FILE; do case $(file -b "$FILE") in - *ELF*executable*not\ stripped) + *ELF*executable*not\ stripped,*) strip --strip-all "$FILE" ;; - *ELF*shared\ object*not\ stripped) + *ELF*shared\ object*not\ stripped,*) strip --strip-unneeded "$FILE" ;; current\ ar\ archive) -- cgit v1.2.3