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

Simon Taylor stayl at cs.mu.OZ.AU
Thu Jun 28 17:05:24 AEST 2001



Estimated hours taken: 0.2

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.


Index: Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/recompilation/Mmakefile,v
retrieving revision 1.1
diff -u -u -r1.1 Mmakefile
--- Mmakefile	2001/06/27 05:04:43	1.1
+++ Mmakefile	2001/06/28 07:04:19
@@ -17,7 +17,9 @@
 	done
 
 # Smart recompilation doesn't yet work with --intermodule-optimization.
-EXTRA_MCFLAGS += --no-intermodule-optimization --smart-recompilation \
+# The `override' is needed because otherwise make ignores the assignment if
+# EXTRA_MCFLAGS is set on the command line, as it is for the nightly tests.
+override EXTRA_MCFLAGS += --no-intermodule-optimization --smart-recompilation \
 			--verbose-recompilation
 
 # This module tests recompilation of a module which depends on a module
--------------------------------------------------------------------------
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