Changeset 61919 for trunk/dports/cross


Ignore:
Timestamp:
Dec 24, 2009, 2:16:58 AM (10 years ago)
Author:
jmr@…
Message:

avr-gcc: apply the usual gcc build_arch fix (doesn't fix #20839 though)

File:
1 edited

Legend:

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

    r59969 r61919  
    6666                                --with-gxx-include-dir=${prefix}/${crossgcc-target}/include/c++/${version}/ \
    6767                                ${default-languages}
     68if {$build_arch != "" && ${os.platform} == "darwin"} {
     69    configure.cc_archflags
     70    configure.cxx_archflags
     71    configure.objc_archflags
     72    configure.args-append --build=${build_arch}-apple-darwin${os.major} \
     73                          --host=${build_arch}-apple-darwin${os.major}
     74}
    6875
    6976build.dir       ${workpath}/build
Note: See TracChangeset for help on using the changeset viewer.