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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125775
@ -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…
Reference in New Issue
Block a user