mirror of
				https://github.com/GrapheneOS/hardened_malloc.git
				synced 2025-11-03 01:06:33 +01:00 
			
		
		
		
	Don't depend on gcc_s
This commit is contained in:
		
							parent
							
								
									448170a412
								
							
						
					
					
						commit
						4d1bc0e24e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -44,7 +44,7 @@ OBJECTS := $(SOURCES:.c=.o)
 | 
			
		|||
ifeq ($(CONFIG_CXX_ALLOCATOR),true)
 | 
			
		||||
    # make sure LTO is compatible in case CC and CXX don't match (such as clang and g++)
 | 
			
		||||
    CXX := $(CC)
 | 
			
		||||
    LDLIBS += -lstdc++ -lgcc_s
 | 
			
		||||
    LDLIBS += -lstdc++
 | 
			
		||||
 | 
			
		||||
    SOURCES += new.cc
 | 
			
		||||
    OBJECTS += new.o
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue