[m-rev.] trivial diff: fix warnings for EXTRA_LD{LIBS,FLAGS}

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Jun 4 04:31:26 AEST 2001


Branches: main
Estimated hours taken: 0.1

library/Mmakefile:
	Add empty definitions of EXTRA_LDFLAGS and EXTRA_LDLIBS,
	to avoid warnings from GNU Make's --warn-undefined-variables
	option.

Workspace: /home/mars/fjh/ws1/mercury
Index: library/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/library/Mmakefile,v
retrieving revision 1.68
diff -u -d -r1.68 Mmakefile
--- library/Mmakefile	2001/05/18 14:23:52	1.68
+++ library/Mmakefile	2001/06/03 18:30:30
@@ -7,6 +7,13 @@
 # library/Mmake - this is the main part of the Makefile
 # for building the Mercury libraries.
 
+#-----------------------------------------------------------------------------#
+# These need to be defined before we include Mmake.common,
+# so that they can be overridden in Mmake.params.
+EXTRA_LDFLAGS =
+EXTRA_LDLIBS =
+#-----------------------------------------------------------------------------#
+
 MERCURY_DIR=..
 include $(MERCURY_DIR)/Mmake.common
 

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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