We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1f6d90 commit ff618acCopy full SHA for ff618ac
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