From 1f0ed77c610a3e8448811788c31ff7744a895bf0 Mon Sep 17 00:00:00 2001 From: LLVM Packaging Team Date: Fri, 18 Sep 2020 10:47:25 +0100 Subject: [PATCH] CMakeLists.txt =================================================================== Gbp-Pq: Topic kfreebsd Gbp-Pq: Name CMakeLists.txt.diff --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 63122c4b6..ce4596e5b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -821,7 +821,7 @@ if(LLVM_TARGET_IS_CROSSCOMPILE_HOST) # (this is a variable that CrossCompile sets on recursive invocations) endif() -if(${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)") +if( ${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)" AND NOT "kFreeBSD" ) # 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") -- 2.30.2