mirror of
				https://gitlab.com/qemu-project/ipxe.git
				synced 2025-11-03 07:59:06 +08:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| f59b95d0e2 | 
@ -502,6 +502,13 @@ LDFLAGS		+= --gc-sections
 | 
			
		||||
#
 | 
			
		||||
LDFLAGS		+= -static
 | 
			
		||||
 | 
			
		||||
# Use separate code segment if supported by linker
 | 
			
		||||
#
 | 
			
		||||
ZSC_TEST	= [ -z "`$(LD) -z separate-code --version 2>&1 > /dev/null`" ]
 | 
			
		||||
ZSC_FLAGS	:= $(shell $(ZSC_TEST) && \
 | 
			
		||||
		     $(ECHO) '-z separate-code -z max-page-size=4096')
 | 
			
		||||
LDFLAGS		+= $(ZSC_FLAGS)
 | 
			
		||||
 | 
			
		||||
# compiler.h is needed for our linking and debugging system
 | 
			
		||||
#
 | 
			
		||||
CFLAGS		+= -include include/compiler.h
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user