Skip to content

Commit

Permalink
prefer llvm-strip if installed
Browse files Browse the repository at this point in the history
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
  • Loading branch information
tonistiigi committed May 5, 2021
1 parent 8f6f4a8 commit e845cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/xx-cc
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ EOT
fi
done

for f in addr2line ar as ranlib nm dlltool; do
for f in addr2line ar as ranlib nm dlltool strip; do
if ! which "${target}-${f}" >/dev/null 2>/dev/null; then
if [ -f "/usr/bin/llvm-${f}" ]; then
if echo "${target}" | grep '\.' 2>/dev/null >/dev/null; then
Expand Down

0 comments on commit e845cc4

Please sign in to comment.