Ignore:
Timestamp:
Jun 3, 2008, 3:56:04 PM (12 years ago)
Author:
jmr@…
Message:

ubench: simpler, more general 64-bit variant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/benchmarks/ubench/Portfile

    r37292 r37333  
    3131
    3232variant use_64_bit conflicts universal description {Build a 64-bit executable} {
    33     pre-fetch {
    34         if {${os.platform} != "darwin"} {
    35             return -code error "The use_64_bit variant only works on Darwin"
    36         } elseif {${os.major} < 8} {
    37             return -code error "The use_64_bit variant needs Darwin 8 or later"
    38         }
    39     }
    40     if {${os.arch} == "i386"} {
    41         configure.cflags-append -arch x86_64
    42     } elseif {${os.arch} == "powerpc"} {
    43         configure.cflags-append -arch ppc64
    44     } else {
    45         ui_warn "Unknown arch: ${os.arch}"
    46     }
     33    configure.cflags-append -m64
    4734}
Note: See TracChangeset for help on using the changeset viewer.