mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-04-21 01:47:21 -05:00
strip mn10200 tools for devkitPPC
This commit is contained in:
parent
f01b23ec1e
commit
324d421723
|
|
@ -14,15 +14,24 @@ for f in $prefix/bin/* \
|
|||
$prefix/$target/bin/* \
|
||||
$prefix/libexec/gcc/$target/$GCC_VER/*
|
||||
do
|
||||
# exclude dll for windows, so for linux/osx, directories .la files, embedspu script & the gccbug text file
|
||||
if ! [[ "$f" == *.dll || "$f" == *.so || -d $f || "$f" == *.la || "$f" == *-embedspu || "$f" == *-gccbug ]]
|
||||
then
|
||||
$HOST_STRIP $f
|
||||
fi
|
||||
# exclude dll for windows, so for linux/osx, directories .la files, embedspu script & the gccbug text file
|
||||
if ! [[ "$f" == *.dll || "$f" == *.so || -d $f || "$f" == *.la || "$f" == *-embedspu || "$f" == *-gccbug ]]
|
||||
then
|
||||
$HOST_STRIP $f
|
||||
fi
|
||||
done
|
||||
|
||||
if [ VERSION -eq 2 ]; then
|
||||
for f in $prefix/mn10200/bin/*
|
||||
do
|
||||
$HOST_STRIP $f
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# strip debug info from libraries
|
||||
#---------------------------------------------------------------------------------
|
||||
find $prefix/lib/gcc/$target -name *.a -exec $target-strip -d {} \;
|
||||
find $prefix/$package/$target -name *.a -exec $target-strip -d {} \;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user