Changeset 61918 for trunk/dports/cross


Ignore:
Timestamp:
Dec 24, 2009, 1:41:39 AM (10 years ago)
Author:
jmr@…
Message:

avr-binutils: set configure build/host arch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/cross/avr-binutils/Portfile

    r59969 r61918  
    6565configure.args          --infodir='${prefix}/share/info' --target=${crossgcc-target} \
    6666                                        --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man'
     67if {$build_arch != "" && ${os.platform} == "darwin"} {
     68    configure.args-append --build=${build_arch}-apple-darwin${os.major} \
     69                          --host=${build_arch}-apple-darwin${os.major}
     70}
    6771build.dir               ${workpath}/build
    6872                                       
Note: See TracChangeset for help on using the changeset viewer.