From 54efb7371a8a0e78cd97a32e4b59a9d82c521329 Mon Sep 17 00:00:00 2001 From: Oscar Fuentes Date: Sat, 12 Mar 2011 17:32:30 +0000 Subject: Build LTO as a static library too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127549 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/CMakeLists.txt') diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 72364618b3..4d9e32db8e 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -46,10 +46,10 @@ add_subdirectory(llvm-stub) add_subdirectory(edis) add_subdirectory(llvmc) +add_subdirectory(lto) if( LLVM_ENABLE_PIC ) # TODO: support other systems: if( CMAKE_SYSTEM_NAME STREQUAL "Linux" ) - add_subdirectory(lto) add_subdirectory(gold) endif() endif() -- cgit v1.2.3