[PATCH] Don't hardcode target dependencies

Dan Nicholson dbn.lists at gmail.com
Tue Mar 13 17:07:32 PDT 2007


On 3/13/07, M.Canales.es <macana at macana-es.com> wrote:
> El Martes, 13 de Marzo de 2007 04:44, Dan Nicholson escribió:
>
> > And with the sudo indirection, it's difficult for me to say `make
> > 028-binutils-pass1' or something and have it just stop there.
>
> I was thinking on that lost feature (lost after the sudo implementation) while
> investigating the stripping failures, but no quick solution found then and
> forgotten the issue until now, sorry :-/
>
> We will take a look at your solution and will do a research to try to find the
> most simplest way ta have again that feature available.

I forgot to follow up. Because the Makefile is called again with sudo,
which discards the environment variables, it doesn't work for most
cases. So, the patch only looks pretty and doesn't actually do much.

I should read the archives, but, why sudo? It seems you could get the
same effect by saying that you must run the Makefile as root and then
dropping privileges with su as necessary. And that would remove any
necessity on having to enter passwords later.

--
Dan



More information about the alfs-discuss mailing list