Changeset 54001


Ignore:
Timestamp:
Jul 18, 2009, 12:22:39 PM (10 years ago)
Author:
jmr@…
Message:

xcode portgroup: use build_arch if available

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/xcode-1.0.tcl

    r53725 r54001  
    267267        append xcode_build_args " ARCHS=\"${universal_archs}\""
    268268    } else {
    269         if {${os.major} >= 10 && $tcl_platform(wordSize) == 8} {
    270             append xcode_build_args " ARCHS=x86_64"
    271         } elseif {${os.arch} == "powerpc"} {
    272             append xcode_build_args " ARCHS=ppc"
     269        if {[info exists build_arch]} {
     270            append xcode_build_args " ARCHS=${build_arch}"
    273271        } else {
    274             append xcode_build_args " ARCHS=i386"
     272            if {${os.arch} == "powerpc"} {
     273                append xcode_build_args " ARCHS=ppc"
     274            } else {
     275                append xcode_build_args " ARCHS=i386"
     276            }
    275277        }
    276278    }
Note: See TracChangeset for help on using the changeset viewer.