[m-rev.] trivial diff: CFLAGS += -I$(ANALYSIS_DIR)/$(mihs_subdir)
Fergus Henderson
fjh at cs.mu.OZ.AU
Sat Feb 22 07:59:06 AEDT 2003
Estimated hours taken: 0.25
Branches: main
Fix a bug that broke building with --use-subdirs.
compiler/Mmakefile:
Add -I$(ANALYSIS_DIR)/$(mihs_subdir), as well as -I$(ANALYSIS_DIR),
to CFLAGS. Previously it was only adding -I$(ANALYSIS_DIR).
Workspace: /mnt/mars/home/mars/public/test_mercury_mars/build.latest.lcc/mercury
Index: compiler/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/Mmakefile,v
retrieving revision 1.69
diff -u -d -r1.69 Mmakefile
--- compiler/Mmakefile 19 Feb 2003 06:31:22 -0000 1.69
+++ compiler/Mmakefile 21 Feb 2003 20:55:47 -0000
@@ -50,7 +50,7 @@
MCFLAGS += -I $(BROWSER_DIR) -I $(ANALYSIS_DIR) \
--c-include-directory $(ANALYSIS_DIR) \
--no-main --linkage shared
-CFLAGS += -I$(ANALYSIS_DIR)
+CFLAGS += -I$(ANALYSIS_DIR) -I$(ANALYSIS_DIR)/$(mihs_subdir)
MLOBJS := ../main.$O ../analysis/lib$(ANALYSIS_LIB_NAME).$A $(MLOBJS)
ALL_MLLIBS = $(MLLIBS) $(EXTRA_MLLIBS) $(GCC_BACKEND_LIBS)
MLFLAGS += --no-main --shared
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | 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