[92109] trunk/base/src/port1.0/portconfigure.tcl
jeremyhu at macports.org
jeremyhu at macports.org
Wed Apr 18 16:04:31 PDT 2012
Revision: 92109
https://trac.macports.org/changeset/92109
Author: jeremyhu at macports.org
Date: 2012-04-18 16:04:31 -0700 (Wed, 18 Apr 2012)
Log Message:
-----------
Adjust compiler defaults on old OS versions
Removes apple-gcc-4.0 from the list as it barely works.
Moves the XCode 3.0/3.1 (Leopard) default to gcc-4.2 to make it more
similar to better supported OS versions.
Adds apple-gcc-4.2 as a first-choice fallback on Tiger.
Adds macports-clang-3.0 to the fallbacks on Tiger and Leopard
(although they are only well tested on Intel, so they are listed
after apple-gcc-4.2)
Modified Paths:
--------------
trunk/base/src/port1.0/portconfigure.tcl
Modified: trunk/base/src/port1.0/portconfigure.tcl
===================================================================
--- trunk/base/src/port1.0/portconfigure.tcl 2012-04-18 22:54:55 UTC (rev 92108)
+++ trunk/base/src/port1.0/portconfigure.tcl 2012-04-18 23:04:31 UTC (rev 92109)
@@ -428,12 +428,12 @@
return {clang llvm-gcc-4.2 apple-gcc-4.2}
} elseif {[vercmp $xcodeversion 4.0] >= 0} {
return {llvm-gcc-4.2 clang gcc-4.2}
- } elseif {[vercmp $xcodeversion 3.2] >= 0 && $macosx_deployment_target != "10.4"} {
- return {gcc-4.2 clang llvm-gcc-4.2 gcc-4.0 apple-gcc-4.0}
- } elseif {$macosx_deployment_target != "10.4"} {
- return {gcc-4.0 gcc-4.2 llvm-gcc-4.2 gcc-3.3 apple-gcc-4.0}
+ } elseif {[vercmp $xcodeversion 3.2] >= 0} {
+ return {gcc-4.2 clang llvm-gcc-4.2 gcc-4.0}
+ } elseif {[vercmp $xcodeversion 3.0] >= 0} {
+ return {gcc-4.2 apple-gcc-4.2 macports-clang-3.0 gcc-4.0}
} else {
- return {gcc-4.0 gcc-3.3 apple-gcc-4.0}
+ return {gcc-4.0 apple-gcc-4.2 macports-clang-3.0 gcc-3.3}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120418/66a1b296/attachment.html>
More information about the macports-changes
mailing list