Subject: Re: should executables be installed as stripped binaries?
To: Georg Schwarz <georg.schwarz@freenet.de>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 10/08/2005 15:38:59
On Sun, 9 Oct 2005, Georg Schwarz wrote:
> I am currently creating a package for pkgsrc/wip and wondering whether I
> should or should not make sure that executables are installed as
> stripped binaries?
Maybe it would be good if this was optional.
pkgsrc is not consistent. Some things are stripped and some are not.
My custom bsd.pkg.mk has:
MAKE_ENV+= INSTALL_STRIP_FLAG=${_STRIPFLAG_CC}
...
INSTALL_LIB?= \
- ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
+ ${INSTALL} ${COPY} ${_STRIPFLAG_INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
...
.if !empty(CC_VERSION:Mgcc*)
# and maybe have an option to say to use _STRIPFLAG_CC ??
CFLAGS+= ${_STRIPFLAG_CC}
.endif
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/