[52340] trunk/dports/_resources/port1.0/group/xcode-1.0.tcl

toby at macports.org toby at macports.org
Sun Jun 14 04:07:40 PDT 2009


Revision: 52340
          http://trac.macports.org/changeset/52340
Author:   toby at macports.org
Date:     2009-06-14 04:07:36 -0700 (Sun, 14 Jun 2009)
Log Message:
-----------
another hack to force 64-bit on SnowLeopard

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/xcode-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/xcode-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/xcode-1.0.tcl	2009-06-14 10:58:09 UTC (rev 52339)
+++ trunk/dports/_resources/port1.0/group/xcode-1.0.tcl	2009-06-14 11:07:36 UTC (rev 52340)
@@ -276,6 +276,10 @@
                 set xcode_build_args "SDKROOT=\"${universal_sysroot}\" $xcode_build_args"
             }
         }
+    } else {
+        if {${os.major} >= 10 && $tcl_platform(wordSize) == 8} {
+            set xcode_build_args "$xcode_build_args ARCHS=x86_64"
+        }
     }
     
     # iterate on targets if there is any, do -alltargets otherwise.
@@ -326,6 +330,10 @@
                 set xcode_build_args "SDKROOT=\"${universal_sysroot}\" $xcode_build_args"
             }
         }
+    } else {
+        if {${os.major} >= 10 && $tcl_platform(wordSize) == 8} {
+            set xcode_build_args "$xcode_build_args ARCHS=x86_64"
+        }
     }
 
     # iterate on targets if there is any, do -alltargets otherwise.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090614/2b832733/attachment.html>


More information about the macports-changes mailing list