[PATCH] D94491: [llvm] [cmake] Remove obsolete /usr/local hack for *BSD
Michał Górny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 12 10:26:32 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5aefc8dc4d14: [llvm] [cmake] Remove obsolete /usr/local hack for *BSD (authored by mgorny).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94491/new/
https://reviews.llvm.org/D94491
Files:
llvm/CMakeLists.txt
Index: llvm/CMakeLists.txt
===================================================================
--- llvm/CMakeLists.txt
+++ llvm/CMakeLists.txt
@@ -911,13 +911,6 @@
# (this is a variable that CrossCompile sets on recursive invocations)
endif()
-if(${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)")
- # On FreeBSD, /usr/local/* is not used by default. In order to build LLVM
- # with libxml2, iconv.h, etc., we must add /usr/local paths.
- include_directories(SYSTEM "/usr/local/include")
- link_directories("/usr/local/lib")
-endif(${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)")
-
if( ${CMAKE_SYSTEM_NAME} MATCHES SunOS )
# special hack for Solaris to handle crazy system sys/regset.h
include_directories("${LLVM_MAIN_INCLUDE_DIR}/llvm/Support/Solaris")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94491.316160.patch
Type: text/x-patch
Size: 777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210112/c44a9bca/attachment.bin>
More information about the llvm-commits
mailing list