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