Merge pull request #4010 from martin-frbg/issue3989-2

Remove any stray trailing dash from CROSS_SUFFIX
This commit is contained in:
Martin Kroeker
2023-04-18 14:55:02 +02:00
committed by GitHub

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