OSDN Git Service

[llvm-shlib] Do not use version script when building with MinGW
authorPirama Arumuga Nainar <pirama@google.com>
Tue, 25 Jun 2019 19:34:52 +0000 (19:34 +0000)
committerPirama Arumuga Nainar <pirama@google.com>
Tue, 25 Jun 2019 19:34:52 +0000 (19:34 +0000)
commit8a626fe3ab0491bd1d4cb688e419faaed3b6c341
tree1b0958cc9932924c7b4a25299ed4a5ac995a95c6
parent16be858d042880c7686cc3938beb2e270dcf0e42
[llvm-shlib] Do not use version script when building with MinGW

Summary:
The MinGW driver for lld does not support the --version-script option.
For GNU ld, it's a no-op since LLVM.dll exports all symbols.

Reviewers: srhines, mstorsjo

Subscribers: mgorny, fedor.sergeev, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D63743

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364343 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-shlib/CMakeLists.txt