Changeset 60615 for trunk/dports/cross


Ignore:
Timestamp:
Nov 16, 2009, 10:22:16 PM (10 years ago)
Author:
jmr@…
Message:

i386-mingw32-binutils: pass appropriate --build configure arg, turn off -Werror (#21086)

File:
1 edited

Legend:

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

    r50980 r60615  
    2929configure.cmd           ${worksrcpath}/configure
    3030configure.args          --infodir='${prefix}/share/info' --target=${crossgcc-target} \
    31                                         --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man'
     31                                        --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man' \
     32                                        --disable-werror
     33if {${os.platform} == "darwin" && $build_arch != ""} {
     34    configure.args-append --build=${build_arch}-apple-darwin${os.major}
     35}
    3236# Append CPPFLAGS to CFLAGS and CXXFLAGS as CPPFLAGS seems to be ignored
    3337configure.cflags-append ${configure.cppflags}
     
    122126post-destroot {
    123127        # Installing (host) libiberty was a mistake.
    124         file delete "${destroot}/${prefix}/lib/libiberty.a"
     128        file delete ${destroot}${prefix}/lib/libiberty.a
     129        file delete ${destroot}${prefix}/lib/${build_arch}/libiberty.a
    125130}
Note: See TracChangeset for help on using the changeset viewer.