mirror of
				https://git.proxmox.com/git/llvm-toolchain
				synced 2025-11-03 23:42:54 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			779 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			779 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/llvm/CMakeLists.txt
 | 
						|
===================================================================
 | 
						|
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/llvm/CMakeLists.txt
 | 
						|
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/llvm/CMakeLists.txt
 | 
						|
@@ -867,7 +867,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")
 |