89 | | 8. Uninstall the bootstrap toolchain: |
| 89 | 8. Disable the variants corresponding to the older versions of ld64 in `/opt/local/etc/macports/variants.conf`. This ensures that ld64 will be reinstalled using the appropriate variants in the future: |
| 90 | {{{ |
| 91 | -ld64_97 |
| 92 | -ld64_127 |
| 93 | -ld64_136 |
| 94 | -ld64_236 |
| 95 | }}} |
| 96 | 9. Reinstall ld64 with the legacy variants disabled to use ld64-latest as the default linker (note macports-clang-3.8 fails to compile it on Snow Leopard currently, so use macports-clang-3.7): |
| 97 | {{{ |
| 98 | sudo port -v upgrade --enforce-variants ld64 -ld64_97 -ld64_127 -ld64_136 -ld64_236 configure.compiler=macports-clang-3.7 |
| 99 | }}} |
| 100 | 10. Uninstall the bootstrap toolchain: |