This hook sets LD to CC, for use with software that works as if LD=$CC when LD is unset, and does not work when LD=ld.
		
			
				
	
	
		
			6 lines
		
	
	
		
			67 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			67 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
ld-is-cc-hook() {
 | 
						|
    LD=$CC
 | 
						|
}
 | 
						|
 | 
						|
preConfigureHooks+=(ld-is-cc-hook)
 |