diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2010-11-26 09:32:02 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2010-11-26 09:32:02 +0000 |
commit | b9dec1f92872f36e308a638eb99071c7da1c41a1 (patch) | |
tree | ed2ae72a6477695e040b0d54a0b8eb28d207bb79 /unittests/CMakeLists.txt | |
parent | 28b6727a35688ab7c4c3eacab74c7e9da23168ad (diff) | |
download | llvm-b9dec1f92872f36e308a638eb99071c7da1c41a1.tar.gz llvm-b9dec1f92872f36e308a638eb99071c7da1c41a1.tar.bz2 llvm-b9dec1f92872f36e308a638eb99071c7da1c41a1.tar.xz |
unittests/JITTests: Don't use --export-dynamic but --export-all-symbols on cygming.
GNU ld/PECOFF accepts but ignores them below;
--version-script
--export-dynamic
--rpath
FIXME: autoconf should be aware of them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120179 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/CMakeLists.txt')
-rw-r--r-- | unittests/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/unittests/CMakeLists.txt b/unittests/CMakeLists.txt index 41e20cfc90..7953fac3bf 100644 --- a/unittests/CMakeLists.txt +++ b/unittests/CMakeLists.txt @@ -82,6 +82,10 @@ endif() add_llvm_unittest(JIT ${JITTestsSources}) +if(MINGW) + set_property(TARGET JITTests PROPERTY LINK_FLAGS -Wl,--export-all-symbols) +endif() + add_llvm_unittest(Transforms Transforms/Utils/Cloning.cpp ) |