From bd5bd89e7706a942e5157d890ee69f8ff3f7bbf2 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Sun, 17 Mar 2013 12:01:05 +0000 Subject: [PATCH] Build LLVMgold.so on FreeBSD using cmake. Patch by Stephen Checkoway. llvm-svn: 177233 --- llvm/tools/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/tools/CMakeLists.txt b/llvm/tools/CMakeLists.txt index 4cf5aa5..5e95604 100644 --- a/llvm/tools/CMakeLists.txt +++ b/llvm/tools/CMakeLists.txt @@ -49,7 +49,8 @@ endif() if( LLVM_ENABLE_PIC ) # TODO: support other systems: - if( CMAKE_SYSTEM_NAME STREQUAL "Linux" ) + if( (CMAKE_SYSTEM_NAME STREQUAL "Linux") + OR (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") ) add_subdirectory(gold) endif() endif() -- 2.7.4