mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-09-28 04:12:40 -06:00
kiss: clean up
This commit is contained in:
parent
04d02f8364
commit
8dbf190873
17
kiss
17
kiss
@ -207,19 +207,10 @@ pkg_strip() {
|
|||||||
# Strip only files matching the below ELF types.
|
# Strip only files matching the below ELF types.
|
||||||
find "$pkg_dir/$1" -type f | while read -r file; do
|
find "$pkg_dir/$1" -type f | while read -r file; do
|
||||||
case $(readelf -h "$file" 2>/dev/null) in
|
case $(readelf -h "$file" 2>/dev/null) in
|
||||||
*" DYN "*)
|
*" DYN "*) strip_opt=--strip-unneeded ;;
|
||||||
strip_opt=--strip-unneeded
|
*" EXEC "*) strip_opt=--strip-all ;;
|
||||||
;;
|
*" REL "*) strip_opt=--strip-debug ;;
|
||||||
|
*) continue
|
||||||
*" REL "*)
|
|
||||||
strip_opt=--strip-debug
|
|
||||||
;;
|
|
||||||
|
|
||||||
*" EXEC "*)
|
|
||||||
strip_opt=--strip-all
|
|
||||||
;;
|
|
||||||
|
|
||||||
*) continue ;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Suppress errors here as some binaries and libraries may
|
# Suppress errors here as some binaries and libraries may
|
||||||
|
Loading…
Reference in New Issue
Block a user