This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Sequential build of libjava


On Sat, Sep 14, 2002 at 12:19:32AM -0400, Paul D. Smith wrote:
> %% Brad Lucier <lucier@math.purdue.edu> writes:
> 
>   bl> OK, so what can be done at build invocation time to get this right?
> 
> I think we've already given all the options.
> 
> The only thing that can be done within the makefile is to stop "hiding"
> of $(MAKE) within the MULTIDO variable and instead bring $(MAKE) right
> out into the rule, as has already been discussed.  So instead of:
> 
>   MULTIDO = $(MAKE)
> 
>   ... : ...
>         $(MULTIDO) ...
> 
> you'd have to avoid MULTIDO and write the makefile as:
> 
>   ... : ...
>         $(MAKE) ...
> 
> 
> Someone already mentioned that if you know you're using GNU make you can
> fix this problem on the invocation by doing something like:
> 
>   $ make MULTIDO='+$(MAKE)'

Those aren't really solutions; MULTIDO is substituted as true in some
cases by configury.  We could do it differently, easily enough - it
just requires a little more autoconfisation, and we can then use
CONDITIONAL for this, I think.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]