projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Build LLVMgold.so on FreeBSD using cmake.
[oota-llvm.git]
/
tools
/
CMakeLists.txt
diff --git
a/tools/CMakeLists.txt
b/tools/CMakeLists.txt
index 4cf5aa5105fe35c80dadb01eeb95e1e702735853..5e9560491e98c6bac0ac2dcb534b7d964f3818ca 100644
(file)
--- 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()