diff options
| author | Rainer Orth <ro@gcc.gnu.org> | 2021-08-07 21:14:15 +0200 |
|---|---|---|
| committer | Rainer Orth <ro@gcc.gnu.org> | 2021-08-07 21:14:15 +0200 |
| commit | a382a746275b4a1eb1867331efa2319c614305d8 (patch) | |
| tree | a6b21ad4e7bde5aa9b1d9574db549e220ae362eb /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | a9a176ca3bb0b283730e233ac5046b010931847c (diff) | |
[clang] Fix libclang linking on Solaris
Linking `libclang.so` is currently broken on Solaris:
ld: fatal: option --version-script requires option -z gnu-version-script-compat to be specified
While Solaris `ld` supports a considerable subset of `--version-script`,
there are some elements of the syntax that aren't.
The fix is equivalent to D78510 <https://reviews.llvm.org/D78510>.
Additionally, use of C-style comments is a GNU extension
that can easily be avoided by using `#` as comment character, which is
supported by GNU `ld`, `gold`, and `lld`.
Tested on `amd64-pc-solaris2.11`, `sparcv9-sun-solaris2.11`,
`x86_64-pc-linux-gnu`.
Differential Revision: https://reviews.llvm.org/D107559
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
