Skip to content

Commit 479509b

Browse files
authored
Remove any stray trailing dash from CROSS_SUFFIX (as would result from clang -arch)
1 parent a5e1fdd commit 479509b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

c_check

Lines changed: 1 addition & 0 deletions
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)