We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 00057f4 + ff618ac commit db3366fCopy full SHA for db3366f
1 file changed
c_check
@@ -35,12 +35,12 @@ if [ "`dirname \"$compiler_name\"`" != '.' ]; then
35
cross_suffix="$cross_suffix`dirname \"$compiler_name\"`/"
36
fi
37
38
-bn=`basename \"$compiler_name\"`
+cn= `echo $compiler_name | sed -e 's/ -.*//'`
39
+bn=`basename "$cn"`
40
41
case "$bn" in
42
*-*) if [ "$bn" != '-' ]; then
43
cross_suffix="$cross_suffix${bn%-*}-"
- cross_suffix=`echo $cross_suffix|sed -e 's/ -$//'`
44
45
esac
46
0 commit comments