Skip to content

Commit

Permalink
Don't stop on stripping warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Tk-Glitch committed Jun 5, 2020
1 parent 0bbc332 commit 3736663
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mostlyportable-gcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ _nowhere="$PWD"
cd "${_nowhere}"/build/gcc-build-"${_target}"
PATH="${_path_hack}" make install
"${_target}"-strip "${_dstdir}"/"${_target}"/lib/*.dll || true
strip "${_dstdir}"/bin/"${_target}"-*
strip "${_dstdir}"/bin/"${_target}"-* || true
if [ "$_fortran" == "false" ]; then
strip "${_dstdir}"/lib/gcc/"${_target}"/"${_gcc_version}"/{cc1*,collect2,gnat1,lto*} || true
else
Expand All @@ -562,7 +562,7 @@ _nowhere="$PWD"
done
for _binaries in "${_dstdir}"/bin/*; do
if [[ "$_binaries" != *"eu"* ]]; then
strip "$_binaries"
strip "$_binaries" || true
fi
done
# remove unnecessary files
Expand Down

0 comments on commit 3736663

Please sign in to comment.