Skip to content

Commit 51dd133

Browse files
authored
Merge pull request #4010 from martin-frbg/issue3989-2
Remove any stray trailing dash from CROSS_SUFFIX
2 parents a5e1fdd + 479509b commit 51dd133

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

c_check

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ bn=`basename \"$compiler_name\"`
4040
case "$bn" in
4141
*-*) if [ "$bn" != '-' ]; then
4242
cross_suffix="$cross_suffix${bn%-*}-"
43+
cross_suffix=`echo $cross_suffix|sed -e 's/ -$//'`
4344
fi
4445
esac
4546

0 commit comments

Comments
 (0)