mirror of
				https://git.proxmox.com/git/llvm-toolchain
				synced 2025-11-04 07:14:33 +00:00 
			
		
		
		
	* Automatically determine GCC_VERSION and dep:devlibs based on g++ package version. * Automatically determine if -fuse-ld=gold is supported based on binutils package version. * debian/patches/lldb-link-atomic.diff: Link lldb with -latomic to get builtin GCC atomic helpers on arches (like powerpc) that need them.
		
			
				
	
	
		
			17 lines
		
	
	
		
			562 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			562 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
Description: Link lldb with -latomic to get GCC atomic helpers
 | 
						|
Author: Adam Conrad <adconrad@ubuntu.com>
 | 
						|
Forwarded: no
 | 
						|
Last-Update: 2013-08-21
 | 
						|
 | 
						|
--- llvm-toolchain-3.3-3.3.orig/lldb/lib/Makefile
 | 
						|
+++ llvm-toolchain-3.3-3.3/lldb/lib/Makefile
 | 
						|
@@ -140,6 +140,8 @@ ifeq ($(HOST_OS), $(filter $(HOST_OS), L
 | 
						|
     LLVMLibsOptions += -Wl,--no-undefined
 | 
						|
     # Link in python
 | 
						|
     LLVMLibsOptions += $(PYTHON_BUILD_FLAGS) -lrt
 | 
						|
+    # Link GCC atomic helper library
 | 
						|
+    LLVMLibsOptions += -latomic
 | 
						|
     LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT)
 | 
						|
 endif
 | 
						|
 
 |