Skip to content

Commit

Permalink
Add support for Ubuntu named clang packages.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
wting authored and catamorphism committed Jan 29, 2013
1 parent fc9650b commit bb51a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Expand Up @@ -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"
;;
Expand Down

0 comments on commit bb51a84

Please sign in to comment.