Browse Source

Update c_check

pull/3992/head
Martin Kroeker GitHub 3 years ago
parent
commit
d37e82edec
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      c_check

+ 5
- 2
c_check View File

@@ -35,9 +35,12 @@ if [ "`dirname \"$compiler_name\"`" != '.' ]; then
cross_suffix="$cross_suffix`dirname \"$compiler_name\"`/"
fi

bn=`basename -z \"$compiler_name\"`
bn=`basename \"$compiler_name\"`

case "$bn" in
*-*) cross_suffix="$cross_suffix${bn%-*}-"
*-*) if [ "$bn" != '-']; then
cross_suffix="$cross_suffix${bn%-*}-"
fi
esac

compiler=""


Loading…
Cancel
Save