On Sunday 28 November 2004 12:48, Christian Parpart wrote: > On Sunday 28 November 2004 1:28 am, Ciaran McCreesh wrote: > > On Sat, 27 Nov 2004 16:24:44 -0800 (PST) Sorav Bansal > > > > wrote: > > | Hence, any project that calls install -s will be troublesome for me. > > | Anyways, I really appreciate your help. In case you have any > > | suggestions on how to get around the install -s problem, that would be > > | great! > > > > As I recall from when we first started messing around with cross > > compiling (we couldn't get strip to work...) the easiest way is to make > > strip a symlink to /bin/true... > > OTOH, it shall be possible to provide a new eclass function (maybe executed > by default) that modifies each existing Makefile that strips out all -s > right behind "install" commands. Just like done with strip-flags for > C[XX]FLAGS. > > That impossible? Well, allmost. Maybe a good option would be to write an install wrapper, and add it to a portage private directory that gets prepended to the path. This install wrapper would strip the -s part from the install command if nostrip is in FEATURES. You can even do this with /etc/portage/bashrc ;-) Paul -- Paul de Vrieze Gentoo Developer Mail: pauldv@gentoo.org Homepage: http://www.devrieze.net