[pacman-dev] stripping binaries in makepkg

Allan McRae allan at archlinux.org
Mon Sep 27 06:20:28 EDT 2010

On 27/09/10 19:43, Florian Pritz wrote:
> On 27.09.2010 11:41, Jonathan Conder wrote:
>>    On 27/09/10 18:03, Allan McRae wrote:
>>> My conclusion?  For most binary packages, the time taken in the
>>> stripping step is mainly used for the actual stripping of files and
>>> not testing which files to strip.  I think this justifies removing the
>>> STRIP_DIRS variable from makepkg.  For large architecture independent
>>> packages where the difference from this change is noticeable, the
>>> packager should add !strip to their PKGBUILD.
>>> Sound OK?
>>> Allan
>> Why not set !strip automatically for arch=any packages?
> That's magic and might cause confusion.

We have had this discussion previously.  The main concern is that there 
might be a valid case where an arch=any package wants to be stripped.  I 
can not think of one, but if it occurred it would then require manual 
stripping.   Adding !strip is easy enough to do.


More information about the pacman-dev mailing list