[m-dev.] diff: OBJFILE_OPT in Mmake.common.in

Peter Ross petdr at cs.mu.OZ.AU
Wed Jun 28 22:19:42 AEST 2000


Hi,


===================================================================


Estimated hours taken: 0.1

Mmake.common.in:
    Override the value for the option to generate object files.  This is
    because we might be using an installed compiler which uses gcc and
    -o to build a compiler using MSVC and /Fo files.

Index: Mmake.common.in
===================================================================
RCS file: /home/mercury1/repository/mercury/Mmake.common.in,v
retrieving revision 1.46
diff -u -r1.46 Mmake.common.in
--- Mmake.common.in	2000/06/27 09:31:38	1.46
+++ Mmake.common.in	2000/06/28 12:18:17
@@ -182,6 +182,12 @@
 O=@OBJ_SUFFIX@
 A=@LIB_SUFFIX@
 
+# The option needed to name object files.
+# We need to use $(empty_string) here to prevent Make from truncating
+# any trailing spaces in -o
+empty_string=
+OBJFILE_OPT=@OBJFILE_OPT@$(empty_string)
+
 # Which makefile to use when compiling the garbage collector.
 BOEHMGC_MAKEFILE=@BOEHMGC_MAKEFILE@
 

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