mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 22:47:51 +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
|
if [ "$TARGET" = "init" ]; then
|
||||||
$STRIP $(find $INSTALL -type f -name "*.so*" 2>/dev/null) 2>/dev/null || :
|
$STRIP $(find $INSTALL -type f -name "*.so*" 2>/dev/null) 2>/dev/null || :
|
||||||
fi
|
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 || :
|
-type f -executable 2>/dev/null) 2>/dev/null || :
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user