[m-rev.] trivial diff: fix clpr samples link errors

Simon Taylor stayl at cs.mu.OZ.AU
Thu Mar 14 16:06:36 AEDT 2002


Estimated hours taken: 0.25

clpr/samples/Mmakefile:
	Use `GRADEFLAGS = --pic-reg' rather then `CFLAGS = -DPIC_REG'
	to use shared libraries on Linux.

Index: Mmakefile
===================================================================
RCS file: /home/mercury1/repository/clpr/samples/Mmakefile,v
retrieving revision 1.14
diff -u -u -r1.14 Mmakefile
--- Mmakefile	25 Jun 2001 15:06:35 -0000	1.14
+++ Mmakefile	14 Mar 2002 05:02:39 -0000
@@ -22,7 +22,7 @@
 C2INITARGS = ../cfloat_lib.init ../$(cs_subdir)cfloat.c
 
 # The following is needed so that we can use shared libraries on Linux
-CFLAGS += -DPIC_REG
+GRADEFLAGS += --pic-reg
 MLFLAGS += --shared
 
 # The following would be needed to use static libraries on Linux

--------------------------------------------------------------------------
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