summaryrefslogtreecommitdiffstats
path: root/llvm/tools/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/CMakeLists.txt')
-rw-r--r--llvm/tools/CMakeLists.txt12
1 files changed, 1 insertions, 11 deletions
diff --git a/llvm/tools/CMakeLists.txt b/llvm/tools/CMakeLists.txt
index 5905baf9813..9ea5543a0b3 100644
--- a/llvm/tools/CMakeLists.txt
+++ b/llvm/tools/CMakeLists.txt
@@ -68,17 +68,7 @@ else()
ignore_llvm_tool_subdirectory(llvm-lto)
endif()
-if( LLVM_ENABLE_PIC )
- # TODO: support other systems:
- if( (CMAKE_SYSTEM_NAME STREQUAL "Linux")
- OR (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") )
- add_llvm_tool_subdirectory(gold)
- else()
- ignore_llvm_tool_subdirectory(gold)
- endif()
-else()
- ignore_llvm_tool_subdirectory(gold)
-endif()
+add_llvm_tool_subdirectory(gold)
add_llvm_external_project(clang)
add_llvm_external_project(llgo)
OpenPOWER on IntegriCloud