Remove any stray trailing dash from CROSS_SUFFIX (as would result from clang -arch)

This commit is contained in:
Martin Kroeker 2023-04-17 21:57:25 +02:00 committed by GitHub
parent a5e1fdd525
commit 479509bb37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ bn=`basename \"$compiler_name\"`
case "$bn" in
*-*) if [ "$bn" != '-' ]; then
cross_suffix="$cross_suffix${bn%-*}-"
cross_suffix=`echo $cross_suffix|sed -e 's/ -$//'`
fi
esac