From: Rafael Espindola Date: Sun, 17 Mar 2013 12:01:05 +0000 (+0000) Subject: Build LLVMgold.so on FreeBSD using cmake. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=df41cf003aa8576a75a7f4e0a992a0a145167ee1 Build LLVMgold.so on FreeBSD using cmake. Patch by Stephen Checkoway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177233 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 4cf5aa5105f..5e9560491e9 100644 --- a/tools/CMakeLists.txt +++ b/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()