[all-commits] [llvm/llvm-project] 443e73: [compiler-rt][cmake] Don't pass --version-script t...
rorth via All-commits
all-commits at lists.llvm.org
Tue Jul 28 04:22:38 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 443e734fb98df422c90cbc8177520a8182597912
https://github.com/llvm/llvm-project/commit/443e734fb98df422c90cbc8177520a8182597912
Author: Rainer Orth <ro at gcc.gnu.org>
Date: 2020-07-28 (Tue, 28 Jul 2020)
Changed paths:
M compiler-rt/cmake/config-ix.cmake
M compiler-rt/lib/asan/CMakeLists.txt
M compiler-rt/lib/ubsan/CMakeLists.txt
Log Message:
-----------
[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
More information about the All-commits
mailing list