diff options
| author | bors <bors@rust-lang.org> | 2016-08-21 22:30:46 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-21 22:30:46 -0700 |
| commit | c44534ef5a6b95cb032c6ce28c8893cf530903b9 (patch) | |
| tree | 64defd927884f2ffdd0319e3e7ca41ff49dff311 /src/libsyntax | |
| parent | 42584d36f6a2d8021c0b642ec0cbf1afed750f32 (diff) | |
| parent | c08b7b9f754c6969e3cc630cfea76a8b8ce8876b (diff) | |
| download | rust-c44534ef5a6b95cb032c6ce28c8893cf530903b9.tar.gz rust-c44534ef5a6b95cb032c6ce28c8893cf530903b9.zip | |
Auto merge of #35821 - nbaksalyar:solaris-trans-fix, r=alexcrichton
Fix linker on Solaris/Illumos This patch provides a fix for the `GnuLinker::export_symbols` function that currently relies on a `--retain-symbols-file` option which is not supported by the Solaris & Illumos linker. Instead, a [version script](https://www.gnu.org/software/gnulib/manual/html_node/LD-Version-Scripts.html) is used on this platform to achieve the same goal. Here's an example of a similar approach in LLVM's CMake script: https://github.com/llvm-mirror/llvm/blob/master/cmake/modules/AddLLVM.cmake#L88-L94. Perhaps other platforms like OpenBSD could benefit from this as well. /cc @semarie
Diffstat (limited to 'src/libsyntax')
0 files changed, 0 insertions, 0 deletions
