Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Commit

Permalink
gcc-4.8: Add pre-unlink.sh to remove files created by the post-link.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
stuarteberg committed May 4, 2015
1 parent 9bd7451 commit 0ab4098
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gcc-4.8/pre-unlink.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Remove the crt symlinks created in post-link.sh
find $PREFIX/lib/gcc/*/* -type l | xargs rm

# Remove the gcc specs file we created in post-link.sh
SPECS_DIR=`echo ${PREFIX}/lib/gcc/*/*`
SPECS_FILE=${SPECS_DIR}/specs
rm ${SPECS_FILE}

0 comments on commit 0ab4098

Please sign in to comment.