[81557] trunk/base/src/port1.0/portconfigure.tcl
jeremyhu at macports.org
jeremyhu at macports.org
Mon Aug 1 14:53:32 PDT 2011
Revision: 81557
http://trac.macports.org/changeset/81557
Author: jeremyhu at macports.org
Date: 2011-08-01 14:53:32 -0700 (Mon, 01 Aug 2011)
Log Message:
-----------
Default to clang for XCode 4.2 and later
Modified Paths:
--------------
trunk/base/src/port1.0/portconfigure.tcl
Modified: trunk/base/src/port1.0/portconfigure.tcl
===================================================================
--- trunk/base/src/port1.0/portconfigure.tcl 2011-08-01 21:52:31 UTC (rev 81556)
+++ trunk/base/src/port1.0/portconfigure.tcl 2011-08-01 21:53:32 UTC (rev 81557)
@@ -356,6 +356,8 @@
global xcodeversion macosx_deployment_target
if {$xcodeversion == "none" || $xcodeversion == ""} {
return cc
+ } elseif {[rpm-vercomp $xcodeversion 4.2] >= 0} {
+ return clang
} elseif {[rpm-vercomp $xcodeversion 4.0] >= 0} {
return llvm-gcc-4.2
} elseif {[rpm-vercomp $xcodeversion 3.2] >= 0 && $macosx_deployment_target != "10.4"} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110801/fc8b23a8/attachment.html>
More information about the macports-changes
mailing list