summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2011-03-13 03:06:59 +0000
committerOscar Fuentes <ofv@wanadoo.es>2011-03-13 03:06:59 +0000
commitac824ee462e7fe7c9610afc805d6fc77cae50ea7 (patch)
treea8faeafaebdb5afa5ac036cd7c4a6f07e2bce2e4
parente1539cc5b642256351bf8add15fe4eecea8d5ced (diff)
downloadbcm5719-llvm-ac824ee462e7fe7c9610afc805d6fc77cae50ea7.tar.gz
bcm5719-llvm-ac824ee462e7fe7c9610afc805d6fc77cae50ea7.zip
LTO is not ready for Windows.
llvm-svn: 127562
-rw-r--r--llvm/tools/CMakeLists.txt5
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" )
OpenPOWER on IntegriCloud