diff options
author | Rainer Orth <ro@gcc.gnu.org> | 2020-07-28 13:21:36 +0200 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2020-07-28 13:21:36 +0200 |
commit | 443e734fb98df422c90cbc8177520a8182597912 (patch) | |
tree | 97210bcf278ef2ce6a1c4ad30ac79160b4e3ff2d /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp | |
parent | 97470897c436a6a5d682fb8ab296d0bcdc6e32a4 (diff) | |
download | llvm-443e734fb98df422c90cbc8177520a8182597912.zip llvm-443e734fb98df422c90cbc8177520a8182597912.tar.gz llvm-443e734fb98df422c90cbc8177520a8182597912.tar.bz2 |
[compiler-rt][cmake] Don't pass --version-script to Illumos ld
Neither the Illumos `ld` nor the Solaris 11.3 one support the `--version-script` and
`z gnu-linker-script-compat` options, which breaks the `compiler-rt` build.
This patch checks for both options instead of hardcoding their use.
Tested on `amd-pc-solaris2.11` (all of Solaris 11.4, 11.3, and Illumos).
Differential Revision: https://reviews.llvm.org/D84559
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions