[m-rev.] diff: fix bug in boehm_gc/Makefile

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Apr 11 10:04:17 AEST 2001


Estimated hours taken: 0.25
Branches: main

boehm_gc/Makefile:
	Set MERCURY_C_INCL_DIR before invoking mgnuc.
	This ensures that we pick up the header files from the build
	directory rather than the header files from the install directory,
	which avoids problems in the case when you're installing over the
	top of a directory which had a previous version already installed.

Workspace: /mnt/venus/home/venus/public/test_mercury_venus/mercury
Index: boehm_gc/Makefile
===================================================================
RCS file: /home/staff/zs/imp/mercury/boehm_gc/Makefile,v
retrieving revision 1.45
diff -u -d -r1.45 Makefile
--- boehm_gc/Makefile	2001/04/10 13:20:05	1.45
+++ boehm_gc/Makefile	2001/04/10 23:59:21
@@ -34,7 +34,7 @@
 # CC=cc $(ABI_FLAG)
 
 # Mercury-specific definition of CC:
-CC=../scripts/mgnuc --grade $(GRADE) --no-ansi --no-check
+CC=MERCURY_C_INCL_DIR=. ../scripts/mgnuc --grade $(GRADE) --no-ansi --no-check
 
 CXX=g++ $(ABI_FLAG)
 # Needed only for "make c++", which adds the c++ interface

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