fix selfupdate compiler selection on 10.4 and 10.5

git-svn-id: https://svn.macports.org/repository/macports/branches/release_1_9/base@73233 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
Joshua Root
2010-11-07 05:29:11 +00:00
parent 4b39562154
commit f29835ad48
+1 -1
View File
@@ -2764,7 +2764,7 @@ proc macports::selfupdate {{optionslist {}} {updatestatusvar ""}} {
set cc_arg ""
switch -glob -- $::macports::macosx_version {
10.{4,5} { set cc_arg "CC=/usr/bin/gcc-4.0 " }
10.[45] { set cc_arg "CC=/usr/bin/gcc-4.0 " }
10.6 { set cc_arg "CC=/usr/bin/gcc-4.2 " }
10.* { set cc_arg "CC=/usr/bin/llvm-gcc-4.2 " }
}