pkgmk: Actually strip executables and objects. Patch by Roman Oreshnikov
FS#1378
This commit is contained in:
parent
8ecaa590f0
commit
8a13560ef8
4
pkgmk.in
4
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user