summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-04-28 08:18:22 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-04-28 08:18:22 +0000
commit3f7b581e2f798a8613754e9b2f48c516f17903f5 (patch)
tree81bf0ea8b4e1bf9b734358826a7897a8a9a1a5a9
parent0c2bef1716b252ddecef0e69167a9ea98578fa57 (diff)
downloadbcm5719-llvm-3f7b581e2f798a8613754e9b2f48c516f17903f5.tar.gz
bcm5719-llvm-3f7b581e2f798a8613754e9b2f48c516f17903f5.zip
Revert an unintended commit. Very sorry for this one.
llvm-svn: 130393
-rw-r--r--llvm/tools/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/tools/CMakeLists.txt b/llvm/tools/CMakeLists.txt
index 64323ac6296..c9072a7908f 100644
--- a/llvm/tools/CMakeLists.txt
+++ b/llvm/tools/CMakeLists.txt
@@ -51,6 +51,13 @@ if( NOT WIN32 )
add_subdirectory(lto)
endif()
+if( LLVM_ENABLE_PIC )
+ # TODO: support other systems:
+ if( CMAKE_SYSTEM_NAME STREQUAL "Linux" )
+ add_subdirectory(gold)
+ endif()
+endif()
+
if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/clang/CMakeLists.txt )
add_subdirectory( ${CMAKE_CURRENT_SOURCE_DIR}/clang )
endif( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/clang/CMakeLists.txt )
OpenPOWER on IntegriCloud