mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/build: fix thread debugging. do not strip glibc.
fixes corrupt stack on arm
This commit is contained in:
parent
59bf03a90a
commit
66aa95e906
@ -352,8 +352,16 @@ if [ ! -f $STAMP ]; then
|
||||
find $INSTALL -type d -exec rmdir -p "{}" ";" 2>/dev/null || true
|
||||
|
||||
if [ ! "$DEBUG" = yes ]; then
|
||||
$STRIP `find $INSTALL -name "*.so" 2>/dev/null` 2>/dev/null || :
|
||||
$STRIP `find $INSTALL -name "*.so.[0-9]*" 2>/dev/null` 2>/dev/null || :
|
||||
$STRIP `find $INSTALL \
|
||||
-type f -name "*.so*" \
|
||||
! -name "ld-*.so" \
|
||||
! -name "libc-*.so" \
|
||||
! -name "libpthread-*.so" \
|
||||
! -name "libthread_db-*so" \
|
||||
2>/dev/null` 2>/dev/null || :
|
||||
if [ "$TARGET" = "init" ]; then
|
||||
$STRIP `find $INSTALL -type f -name "*.so*" 2>/dev/null` 2>/dev/null || :
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user