New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79762


Ignore:
Timestamp:
06/24/11 19:54:56 (4 years ago)
Author:
jmr@…
Message:

add get_canonical_archflags proc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portutil.tcl

    r79689 r79762  
    26442644} 
    26452645 
     2646# returns the flags that should be passed to the compiler to choose arch(s) 
     2647proc get_canonical_archflags {{tool cc}} { 
     2648    if {![variant_exists universal] || ![variant_isset universal]} { 
     2649        return [option configure.${tool}_archflags] 
     2650    } else { 
     2651        if {$tool == "cc" || $tool == "objc"} { 
     2652            set tool c 
     2653        } 
     2654        return [option configure.universal_${tool}flags] 
     2655    } 
     2656} 
     2657 
    26462658# check that the selected archs are supported 
    26472659proc check_supported_archs {} { 
Note: See TracChangeset for help on using the changeset viewer.