Modified: trunk/base/src/port1.0/portconfigure.tcl (103448 => 103449)
--- 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