Merged from kmod.mk,v 1.152: strip debugging symbols even when not
configured for debugging. This saves some bytes, and produces the same "kernel" object as if it was configured for debugging.
This commit is contained in:
parent
1a17c23db2
commit
41460aa51a
@ -71,6 +71,9 @@ ${FULLKERNEL}: ${SYSTEM_DEP} vers.o
|
||||
@rm -f ${.TARGET}
|
||||
@echo linking ${.TARGET}
|
||||
${SYSTEM_LD}
|
||||
.if !defined(DEBUG)
|
||||
${OBJCOPY} --strip-debug ${.TARGET}
|
||||
.endif
|
||||
${SYSTEM_LD_TAIL}
|
||||
|
||||
.if !exists(${.OBJDIR}/.depend)
|
||||
|
Loading…
x
Reference in New Issue
Block a user