[llvm] r177233 - Build LLVMgold.so on FreeBSD using cmake.
Rafael Espindola
rafael.espindola at gmail.com
Sun Mar 17 05:01:05 PDT 2013
Author: rafael
Date: Sun Mar 17 07:01:05 2013
New Revision: 177233
URL: http://llvm.org/viewvc/llvm-project?rev=177233&view=rev
Log:
Build LLVMgold.so on FreeBSD using cmake.
Patch by Stephen Checkoway.
Modified:
llvm/trunk/tools/CMakeLists.txt
Modified: llvm/trunk/tools/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/CMakeLists.txt?rev=177233&r1=177232&r2=177233&view=diff
==============================================================================
--- llvm/trunk/tools/CMakeLists.txt (original)
+++ llvm/trunk/tools/CMakeLists.txt Sun Mar 17 07:01:05 2013
@@ -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()
More information about the llvm-commits
mailing list