[m-rev.] diff: fix recompilation test failures

Simon Taylor stayl at cs.mu.OZ.AU
Thu Jun 28 18:55:20 AEST 2001


On 28-Jun-2001, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> On 28-Jun-2001, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> > 
> > tests/recompilation/Mmakefile:
> > 	Use `override' when setting EXTRA_MCFLAGS, because otherwise
> > 	make ignores the assigment if EXTRA_MCFLAGS is set on the
> > 	command line, as it is for the nightly tests.
> 
> Why don't you use MCFLAGS rather than EXTRA_MCFLAGS here?

Because EXTRA_MCFLAGS comes after MCFLAGS in ALL_MCFLAGS, and we need
to be sure that `--intermodule-optimization' is disabled for the
recompilation tests (test_mercury puts it in EXTRA_MCFLAGS).

Simon.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list