Ticket #51832: libgcc-sierra.diff

File libgcc-sierra.diff, 679 bytes (added by e-t-h-a-n, 8 years ago)

Temporary workaround

  • Portfile

    a b  
    8888                    OTOOL=${prefix}/bin/otool \
    8989                    OTOOL64=${prefix}/bin/otool
    9090
    9191pre-configure {
    9292    configure.args-append --with-pkgversion="MacPorts ${name} ${version}_${revision}${portvariants}"
    93 
     93    if {${subport} eq "libgcc"} {
     94        configure.env-delete STRIP_FOR_TARGET=${prefix}/bin/strip
     95        configure.env-append STRIP_FOR_TARGET="${prefix}/bin/strip -i"
     96    }
    9497    # TODO: Remove when base automatically creates configure.dir (2.2.1?).
    9598    file mkdir ${configure.dir}
    9699}
    97100
    98101# http://trac.macports.org/ticket/29067