Changeset 59653


Ignore:
Timestamp:
Oct 18, 2009, 9:49:42 PM (7 years ago)
Author:
jmr@…
Message:

i386-mingw32-gcc: fix build_arch issues (#21194)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/cross/i386-mingw32-gcc/Portfile

    r50980 r59653  
    6767                --disable-multilib \
    6868                --with-gxx-include-dir=${prefix}/${crossgcc-target}/include/c++/${gnu_version}/
     69if {$build_arch != ""} {
     70    configure.cc_archflags
     71    configure.cxx_archflags
     72    configure.objc_archflags
     73    if {${os.platform} == "darwin"} {
     74        configure.args-append --build=${build_arch}-apple-darwin${os.major}
     75    }
     76}
    6977
    7078build.dir       ${workpath}/build
Note: See TracChangeset for help on using the changeset viewer.