llvm.org GIT mirror llvm / d97cbff
Add support for building LLVM on FreeBSD 9.2 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205847 91177308-0d34-0410-b5e6-96231b3b80d8 Viktor Kutuzov 6 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
1515 if( UNIX AND NOT BEOS )
1616 # Used by check_symbol_exists:
1717 set(CMAKE_REQUIRED_LIBRARIES m)
18 endif()
19 # x86_64 FreeBSD 9.2 requires libcxxrt to be specified explicitly.
20 if( CMAKE_SYSTEM MATCHES "FreeBSD-9.2-RELEASE" AND
21 CMAKE_SIZEOF_VOID_P EQUAL 8 )
22 list(APPEND CMAKE_REQUIRED_LIBRARIES "cxxrt")
1823 endif()
1924
2025 # Helper macros and functions