[m-dev.] diff: fix quoting bug with OBJFILE_OPT
Fergus Henderson
fjh at cs.mu.OZ.AU
Fri Jun 16 10:21:19 AEST 2000
Estimated hours taken: 0.5
scripts/Mmake.vars.in:
Fix a quoting bug in Pete's recent change.
Workspace: /home/mercury/public/test_mercury/test_dirs/hg/mercury
Index: scripts/Mmake.vars.in
===================================================================
RCS file: /home/staff/zs/imp/mercury/scripts/Mmake.vars.in,v
retrieving revision 1.34
diff -u -d -r1.34 Mmake.vars.in
--- scripts/Mmake.vars.in 2000/06/13 10:12:49 1.34
+++ scripts/Mmake.vars.in 2000/06/15 17:44:53
@@ -476,7 +476,10 @@
#-----------------------------------------------------------------------------#
-OBJFILE_OPT="@OBJFILE_OPT@"
+# We need to use $(empty_string) here to prevent Make from truncating
+# any trailing spaces in @OBJFILE_OPT@
+empty_string=
+OBJFILE_OPT=@OBJFILE_OPT@$(empty_string)
O=@OBJ_SUFFIX@
A=@LIB_SUFFIX@
--
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.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list