Removed all the complexities when installing the strip(1) binary.
Submitted by: bde
This commit is contained in:
parent
d132b81c28
commit
3d99503552
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125513
@ -13,18 +13,6 @@ DPADD= ${RELTOP}/libbinutils/libbinutils.a
|
||||
DPADD+= ${RELTOP}/libbfd/libbfd.a
|
||||
DPADD+= ${RELTOP}/libiberty/libiberty.a
|
||||
LDADD= ${DPADD}
|
||||
CLEANFILES+= maybe_stripped
|
||||
|
||||
all: maybe_stripped
|
||||
|
||||
realinstall:
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
||||
maybe_stripped ${DESTDIR}${BINDIR}/strip
|
||||
INSTALLFLAGS= -S
|
||||
|
||||
.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