mirror of
				https://git.proxmox.com/git/llvm-toolchain
				synced 2025-11-04 02:06:05 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			909 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			909 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
Index: llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d/compiler-rt/lib/scudo/standalone/CMakeLists.txt
 | 
						|
===================================================================
 | 
						|
--- llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d.orig/compiler-rt/lib/scudo/standalone/CMakeLists.txt
 | 
						|
+++ llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d/compiler-rt/lib/scudo/standalone/CMakeLists.txt
 | 
						|
@@ -178,6 +178,13 @@ if(COMPILER_RT_DEFAULT_TARGET_ARCH MATCH
 | 
						|
   list(APPEND SCUDO_LINK_LIBS atomic)
 | 
						|
 endif()
 | 
						|
 
 | 
						|
+if(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "mips" OR
 | 
						|
+   CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "mips64" OR
 | 
						|
+   CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "mipsel" OR
 | 
						|
+   CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "mips64el")
 | 
						|
+  list(APPEND SCUDO_LINK_LIBS atomic)
 | 
						|
+endif()
 | 
						|
+
 | 
						|
 if(COMPILER_RT_HAS_SCUDO_STANDALONE)
 | 
						|
   add_compiler_rt_object_libraries(RTScudoStandalone
 | 
						|
     ARCHS ${SCUDO_STANDALONE_SUPPORTED_ARCH}
 |