mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
Merge pull request #3509 from kszaq/topic/strip_executables
scripts/build: strip all executables in /usr
This commit is contained in:
commit
8d274fbb7a
@ -488,7 +488,7 @@ if [ "$TARGET" = "target" -o "$TARGET" = "init" ]; then
|
||||
if [ "$TARGET" = "init" ]; then
|
||||
$STRIP $(find $INSTALL -type f -name "*.so*" 2>/dev/null) 2>/dev/null || :
|
||||
fi
|
||||
$STRIP $(find $INSTALL/bin $INSTALL/usr/bin $INSTALL/sbin $INSTALL/usr/sbin \
|
||||
$STRIP $(find $INSTALL ! -name "*.so*" ! -name "*.ko" \
|
||||
-type f -executable 2>/dev/null) 2>/dev/null || :
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user