trivial diff: fix bug with EXTRA_MGNUCFLAGS and --use-subdirs
Fergus Henderson
fjh at cs.mu.OZ.AU
Mon Mar 29 20:33:00 AEST 1999
Estimated hours taken: 0.25
scripts/Mmake.rules:
For --use-subdirs, add `-I.' to ALL_MGNUCFLAGS rather than to
MGNUCFLAGS. This avoids problems where EXTRA_MGNUCFLAGS and
MGNUCFLAGS_FOR_TARGET were being interpreted as gcc options
rather than as mgnuc options, because `-I.' is a gcc option
rather than an mgnuc option and so all options which follow
it are assumed to be gcc options.
Index: scripts/Mmake.rules
===================================================================
RCS file: /home/mercury1/repository/mercury/scripts/Mmake.rules,v
retrieving revision 1.66
diff -u -r1.66 Mmake.rules
--- Mmake.rules 1998/12/06 23:48:54 1.66
+++ Mmake.rules 1999/03/29 10:29:51
@@ -34,7 +34,7 @@
MCFLAGS += --use-subdirs
MSCFLAGS += --use-subdirs
MNCFLAGS += --use-subdirs
-MGNUCFLAGS += -I.
+ALL_MGNUCFLAGS += -I.
endif
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
More information about the developers
mailing list