[m-dev.] diff: tools/test_mercury: include --pic-reg in MCFLAGS

Fergus Henderson fjh at cs.mu.OZ.AU
Sat Mar 25 06:01:57 AEDT 2000


Estimated hours taken: 0.5

tools/test_mercury:
	When using `--pic-reg', include it in MCFLAGS too, not just in CFLAGS
	and MLFLAGS.  This is needed for tests/hard_coded/split_c_files, since
	with `--split-c-files', the C compiler gets invoked from mmc rather
	than from mmake.

Workspace: /mnt/murlibobo/home/mercury0/fjh/mercury
Index: tools/test_mercury
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/test_mercury,v
retrieving revision 1.106
diff -u -d -r1.106 test_mercury
--- tools/test_mercury	2000/02/22 01:16:57	1.106
+++ tools/test_mercury	2000/03/24 18:58:21
@@ -79,6 +79,7 @@
 		# On x86 Linux, we need to set the following flags to enable
 		# shared libraries (and we need to use shared libraries to
 		# avoid running out of disk space...)
+		TEST_MCFLAGS="$TEST_MCFLAGS --pic-reg"
 		TEST_MGNUCFLAGS=--pic-reg
 		TEST_MLFLAGS=--shared
 		;;

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list