diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2011-03-13 03:06:59 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2011-03-13 03:06:59 +0000 |
commit | ac824ee462e7fe7c9610afc805d6fc77cae50ea7 (patch) | |
tree | a8faeafaebdb5afa5ac036cd7c4a6f07e2bce2e4 | |
parent | e1539cc5b642256351bf8add15fe4eecea8d5ced (diff) | |
download | bcm5719-llvm-ac824ee462e7fe7c9610afc805d6fc77cae50ea7.tar.gz bcm5719-llvm-ac824ee462e7fe7c9610afc805d6fc77cae50ea7.zip |
LTO is not ready for Windows.
llvm-svn: 127562
-rw-r--r-- | llvm/tools/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/tools/CMakeLists.txt b/llvm/tools/CMakeLists.txt index 4d9e32db8e8..2aceeb3272e 100644 --- a/llvm/tools/CMakeLists.txt +++ b/llvm/tools/CMakeLists.txt @@ -46,7 +46,10 @@ add_subdirectory(llvm-stub) add_subdirectory(edis) add_subdirectory(llvmc) -add_subdirectory(lto) +if( NOT WIN32 ) + add_subdirectory(lto) +endif() + if( LLVM_ENABLE_PIC ) # TODO: support other systems: if( CMAKE_SYSTEM_NAME STREQUAL "Linux" ) |