diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-04 01:01:32 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-04 01:01:32 +0000 |
commit | 76f92277ca85f783ec46c36bbd999c857a33f8c7 (patch) | |
tree | 5f1ab3193a623fd312c30afcf1c66e77574de1bf /llvm/unittests/ExecutionEngine | |
parent | 5515ff804fc8ec1f1611942a7826b292102f0485 (diff) | |
download | bcm5719-llvm-76f92277ca85f783ec46c36bbd999c857a33f8c7.tar.gz bcm5719-llvm-76f92277ca85f783ec46c36bbd999c857a33f8c7.zip |
Don't export symbols in every binary on linux.
On freebsd this makes sure that symbols are exported on the binaries that need
them. The net result is that we should get symbols in the binaries that need
them on every platform.
On linux x86-64 this reduces the size of the bin directory from 262MB to 250MB.
Patch by Stephen Checkoway.
llvm-svn: 178725
Diffstat (limited to 'llvm/unittests/ExecutionEngine')
-rw-r--r-- | llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt b/llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt index 3d33e4cb835..ac45d2e24b9 100644 --- a/llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt +++ b/llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt @@ -52,6 +52,4 @@ add_llvm_unittest(JITTests ${JITTestsSources} ) -if(MINGW OR CYGWIN) - set_property(TARGET JITTests PROPERTY LINK_FLAGS -Wl,--export-all-symbols) -endif() +set_target_properties(JITTests PROPERTIES ENABLE_EXPORTS 1) |