Skip to content

Commit bb51a84

Browse files
wtingcatamorphism
authored andcommitted
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.
1 parent fc9650b commit bb51a84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ then
516516
| cut -d ' ' -f 2)
517517

518518
case $CFG_CLANG_VERSION in
519-
(3.0svn | 3.0 | 3.1 | 3.2 | 4.0 | 4.1)
519+
(3.0svn | 3.0 | 3.1* | 3.2* | 4.0* | 4.1*)
520520
step_msg "found ok version of CLANG: $CFG_CLANG_VERSION"
521521
CFG_C_COMPILER="clang"
522522
;;

0 commit comments

Comments
 (0)