From 436633e2a281ff620f2f4d9a06b33d3a99924717 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 4 Apr 2013 01:01:32 +0000 Subject: 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178725 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/ExecutionEngine/JIT/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'unittests') diff --git a/unittests/ExecutionEngine/JIT/CMakeLists.txt b/unittests/ExecutionEngine/JIT/CMakeLists.txt index 3d33e4cb83..ac45d2e24b 100644 --- a/unittests/ExecutionEngine/JIT/CMakeLists.txt +++ b/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) -- cgit v1.2.3