[103449] trunk/base/src/port1.0/portconfigure.tcl
larryv at macports.org
larryv at macports.org
Mon Feb 25 23:33:00 PST 2013
Revision: 103449
https://trac.macports.org/changeset/103449
Author: larryv at macports.org
Date: 2013-02-25 23:33:00 -0800 (Mon, 25 Feb 2013)
Log Message:
-----------
portconfigure.tcl: Correct behavior of arch_flag_supported.
Prior to r103211, it also returned false for "cc", "gcc", and "gcc-3.3".
Revision Links:
--------------
https://trac.macports.org/changeset/103211
Modified Paths:
--------------
trunk/base/src/port1.0/portconfigure.tcl
Modified: trunk/base/src/port1.0/portconfigure.tcl
===================================================================
--- trunk/base/src/port1.0/portconfigure.tcl 2013-02-26 07:21:27 UTC (rev 103448)
+++ trunk/base/src/port1.0/portconfigure.tcl 2013-02-26 07:33:00 UTC (rev 103449)
@@ -358,8 +358,7 @@
# internal proc to determine if the compiler supports -arch
proc portconfigure::arch_flag_supported {compiler} {
- return [expr {[string first "macports-gcc" $compiler] != 0 &&
- [string first "macports-dragonegg" $compiler] != 0}]
+ return [regexp {^gcc-4|llvm|apple|clang} $compiler]
}
# maps compiler names to the port that provides them
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130225/65229580/attachment.html>
More information about the macports-changes
mailing list