Fix for objdir feature of BSD make
contributed by Antoine Leca.
This commit is contained in:
		
							parent
							
								
									9ed280d1ec
								
							
						
					
					
						commit
						d87559f9b9
					
				@ -22,7 +22,7 @@ CFLAGS += -D__kernel__
 | 
			
		||||
LDFLAGS+= -.o
 | 
			
		||||
.elif ${COMPILER_TYPE} == "gnu"
 | 
			
		||||
CPPFLAGS+= -ffreestanding -fno-stack-protector
 | 
			
		||||
LDFLAGS+= -T arch/${ARCH}/kernel.lds
 | 
			
		||||
LDFLAGS+= -T ${.CURDIR}/arch/${ARCH}/kernel.lds
 | 
			
		||||
LDFLAGS+= -nostdlib -L${LIBDIR}
 | 
			
		||||
CFLAGS+=-march=i386
 | 
			
		||||
DPADD+=	${LIBC}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user