Skip to content

Commit

Permalink
Merge pull request #15 from owl4ce/master
Browse files Browse the repository at this point in the history
Use `find` to strip debug symbols safely (LLVM)
  • Loading branch information
dslm4515 authored Jun 28, 2021
2 parents 169ee3c + eb865bd commit a6ef098
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 2-llvmtools/36-Stripping_and_Ownership
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
# of unneeded debugging symbols.

# Remove debug symbols with:
strip --strip-debug /llvmtools/lib/*
/usr/bin/strip --strip-unneeded /llvmtools/bin/*
find /llvmtools/lib/ -maxdepth 1 -type f -exec strip --strip-debug {} \;
find /llvmtools/bin/ -maxdepth 1 -type f -exec /cgnutools/bin/llvm-strip --strip-unneeded {} \;

# Remove the documentation:
rm -rf /llvmtools/{,share}/{info,man,doc}

# Remove unneeded files:
find /llvmtools/{lib,libexec} -name \*.la -delete
find /llvmtools/{lib,libexec} -name \*.la -exec rm -rfv {} \;

# Changing Ownership
# Currently, the $MLFS/tools directory is owned by
Expand Down

0 comments on commit a6ef098

Please sign in to comment.