Changeset 97713


Ignore:
Timestamp:
Sep 12, 2012, 10:33:23 PM (12 years ago)
Author:
jeremyhu@…
Message:

libstdcxx{,-devel}: Address a possible build failure, See #36116.

Location:
trunk/dports/lang
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/gcc47/Portfile

    r97702 r97713  
    128128    configure.args-append --enable-languages=c++
    129129
    130     configure.args-append --disable-bootstrap
     130    # See http://trac.macports.org/ticket/36116 for why we can't do this yet
     131    # configure.args-append --disable-bootstrap
     132    # build.target        all
    131133
    132     build.target        all
    133134    destroot.target     install-target-libstdc++-v3
    134135
     
    140141        # base doesn't like the + in this depspec path:lib/libstdc++.dylib:libstdcxx
    141142        system "touch ${destroot}${prefix}/lib/.libstdcxx"
     143
     144        # Some linkers don't optimize this unused link away.  TODO: Fix this in the build system
     145        system "install_name_tool -change ${prefix}/lib/libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib ${destroot}${prefix}/lib/libstdc++.6.dylib"
    142146    }
    143147} else {
  • trunk/dports/lang/gcc48/Portfile

    r97700 r97713  
    109109    configure.args-append --enable-languages=c++
    110110
    111     configure.args-append --disable-bootstrap
     111    # See http://trac.macports.org/ticket/36116 for why we can't do this yet
     112    # configure.args-append --disable-bootstrap
     113    # build.target        all
    112114
    113     build.target        all
    114115    destroot.target     install-target-libstdc++-v3
    115116
     
    121122        # base doesn't like the + in this depspec path:lib/libstdc++.dylib:libstdcxx
    122123        system "touch ${destroot}${prefix}/lib/.libstdcxx"
     124
     125        # Some linkers don't optimize this unused link away.  TODO: Fix this in the build system
     126        system "install_name_tool -change ${prefix}/lib/libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib ${destroot}${prefix}/lib/libstdc++.6.dylib"
    123127    }
    124128} else {
Note: See TracChangeset for help on using the changeset viewer.