diff options
author | Renato Golin <renato.golin@linaro.org> | 2016-02-26 17:01:45 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2016-02-26 17:01:45 +0000 |
commit | 9590c532b892743040b7a3ea8a8308098e1aff1e (patch) | |
tree | a333499cde11620e68b34d8be25a1708b8599369 /llvm/lib/Support | |
parent | b8868b9bead799ba7c9b5f0c2df07db4d2966fed (diff) | |
download | bcm5719-llvm-9590c532b892743040b7a3ea8a8308098e1aff1e.tar.gz bcm5719-llvm-9590c532b892743040b7a3ea8a8308098e1aff1e.zip |
[CMAKE] Update build on recent Haiku
This patch updates cmake build scripts to build on Haiku. It adds Haiku x86_64 to config.guess.
Please consider reviewing.
Pathc by Jérôme Duval.
llvm-svn: 262038
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r-- | llvm/lib/Support/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Support/CMakeLists.txt b/llvm/lib/Support/CMakeLists.txt index 0eb4a61fd8f..bccbdfca4c4 100644 --- a/llvm/lib/Support/CMakeLists.txt +++ b/llvm/lib/Support/CMakeLists.txt @@ -23,7 +23,9 @@ elseif( CMAKE_HOST_UNIX ) if ( LLVM_ENABLE_ZLIB AND HAVE_LIBZ ) set(system_libs ${system_libs} z) endif() - set(system_libs ${system_libs} m) + if( UNIX AND NOT (BEOS OR HAIKU) ) + set(system_libs ${system_libs} m) + endif() endif( MSVC OR MINGW ) add_llvm_library(LLVMSupport |