[pacman-dev] stripping binaries in makepkg

Sven-Hendrik Haase sh at lutzhaase.com
Thu Sep 23 01:23:14 EDT 2010


 On 23.09.2010 07:12, Allan McRae wrote:
> On 23/09/10 14:55, Sven-Hendrik Haase wrote:
>>   I'd also like an answer to this. Why not do away with the individual
>> directories? Locating the binaries even in a fairly large package will
>> be fairly quick in any case.
>>
>
> It has been that way since 2005-03-15 with the initial commit in the
> git repo:
> http://projects.archlinux.org/pacman.git/diff/scripts/makepkg?id=d04baabafa
> .  Except then the path was hard-coded in makepkg.  The configurable
> STRIP_DIRS came much later:
> http://projects.archlinux.org/pacman.git/commit/?id=ae9e33ed
>
>
> As to why...  I have never thought about it other than it seems a
> waste to search /usr/share for binaries to strip.
>
> Allan
>
>
Alright then. Could you add "usr/lib32" to the end of the STRIP_DIRS
array for the default makepkg.conf to avoid any problems that come with
building multilib packages? I can also make you a patch for this if it's
necessary for such a small change.

-- Sven-Hendrik


More information about the pacman-dev mailing list