Add support for Ubuntu named clang packages.
Ubuntu's clang packages have additional information appended to the end of the version. - Building Rust v0.5 with clang v3.0-6ubuntu3 fails. - Building Rust v0.5 and incoming with clang v3.1-5ppa (backported from Debian) works. Closes #4441.
This commit is contained in:
parent
fc9650b146
commit
bb51a8442f
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -516,7 +516,7 @@ then
|
|||
| cut -d ' ' -f 2)
|
||||
|
||||
case $CFG_CLANG_VERSION in
|
||||
(3.0svn | 3.0 | 3.1 | 3.2 | 4.0 | 4.1)
|
||||
(3.0svn | 3.0 | 3.1* | 3.2* | 4.0* | 4.1*)
|
||||
step_msg "found ok version of CLANG: $CFG_CLANG_VERSION"
|
||||
CFG_C_COMPILER="clang"
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue