diff options
| author | Nick Lewycky <nicholas@mxc.ca> | 2010-06-23 06:48:34 +0000 |
|---|---|---|
| committer | Nick Lewycky <nicholas@mxc.ca> | 2010-06-23 06:48:34 +0000 |
| commit | 99d71d1e7a555c5db99ab90f129e935791fbce81 (patch) | |
| tree | b7efdb6a7c59a28782dee0a675cc6750a8760435 /llvm/utils/TableGen | |
| parent | 37141f4fb4ac93cee02ead6bae49539086d2629f (diff) | |
| download | bcm5719-llvm-99d71d1e7a555c5db99ab90f129e935791fbce81.tar.gz bcm5719-llvm-99d71d1e7a555c5db99ab90f129e935791fbce81.zip | |
Don't link against libm and libpthread which don't exist in BeOS/Haiku. Also,
Haiku like Linux provides <regex.h>, so use it. Patch by Paul Davey!
llvm-svn: 106620
Diffstat (limited to 'llvm/utils/TableGen')
| -rw-r--r-- | llvm/utils/TableGen/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/CMakeLists.txt b/llvm/utils/TableGen/CMakeLists.txt index 85847f164bb..972989ba623 100644 --- a/llvm/utils/TableGen/CMakeLists.txt +++ b/llvm/utils/TableGen/CMakeLists.txt @@ -41,6 +41,6 @@ target_link_libraries(tblgen LLVMSupport LLVMSystem) if( MINGW ) target_link_libraries(tblgen imagehlp psapi) endif( MINGW ) -if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD ) +if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD AND NOT BEOS ) target_link_libraries(tblgen pthread) endif() |

