[m-rev.] trivial diff: fix boehm_gc header search path

Simon Taylor stayl at cs.mu.OZ.AU
Thu Sep 6 01:45:45 AEST 2001



Estimated hours taken: 0.1
Branches: main, release

boehm_gc/Makefile:
	As a side-effect of the change to avoid Mercury generated
	header files overriding system header files,
	boehm_gc/include/private needs to be included in the
	header search path when building the collector.


Index: Makefile
===================================================================
RCS file: /home/mercury1/repository/mercury/boehm_gc/Makefile,v
retrieving revision 1.48
diff -u -u -r1.48 Makefile
--- Makefile	2001/04/18 17:46:03	1.48
+++ Makefile	2001/09/05 15:22:30
@@ -64,7 +64,7 @@
 # -DGC_LINUX_THREADS -DPARALLEL_MARK -DTHREAD_LOCAL_ALLOC
 
 # Mercury-specific CFLAGS:
-CFLAGS= -I$(srcdir)/include \
+CFLAGS= -I$(srcdir)/include -I$(srcdir)/include/private \
 	-DSILENT -DDONT_DEFINE_READ -DNO_DEBUGGING -DNO_EXECUTE_PERMISSION \
 	$(CFLAGS_FOR_PIC) $(DLL_CFLAGS) $(EXTRA_CFLAGS)
 # Note that the `mgnuc' script also passes -DNO_SIGNALS, unless
@@ -314,7 +314,7 @@
 # the SHELL environment variable.
 SHELL= /bin/sh
 
-SPECIALCFLAGS = -I$(srcdir)/include
+SPECIALCFLAGS = -I$(srcdir)/include -I$(srcdir)/include/private
 # Alternative flags to the C compiler for mach_dep.c.
 # Mach_dep.c often doesn't like optimization, and it's
 # not time-critical anyway.
--------------------------------------------------------------------------
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