strip wasn't stripped since we stopped to include bsd.own.mk from sys.mk.
This commit is contained in:
parent
86751859b5
commit
1154360eaa
@ -17,16 +17,14 @@ CLEANFILES+= maybe_stripped
|
||||
|
||||
all: maybe_stripped
|
||||
|
||||
maybe_stripped: strip
|
||||
cp strip maybe_stripped
|
||||
.if defined(STRIP)
|
||||
.if ${STRIP:M-s} != ""
|
||||
-strip maybe_stripped
|
||||
.endif
|
||||
.endif
|
||||
|
||||
realinstall:
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
||||
maybe_stripped ${DESTDIR}${BINDIR}/strip
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
maybe_stripped: strip
|
||||
cp strip maybe_stripped
|
||||
.if defined(STRIP) && !empty(STRIP:M-s)
|
||||
-strip maybe_stripped
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user