--- tools/CMakeLists.txt.orig 2014-06-27 02:51:21 UTC +++ tools/CMakeLists.txt @@ -60,7 +60,8 @@ endif() if( LLVM_ENABLE_PIC ) # TODO: support other systems: if( (CMAKE_SYSTEM_NAME STREQUAL "Linux") - OR (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") ) + OR (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") + OR (CMAKE_SYSTEM_NAME STREQUAL "BSDSUniX") ) add_llvm_tool_subdirectory(gold) else() ignore_llvm_tool_subdirectory(gold)