[m-rev.] diff: fix stage 2 grade_lib dir compilation in the Java grade

Julien Fischer jfischer at opturion.com
Thu May 21 22:25:19 AEST 2020


Fix stage 2 grade_lib dir compilation in the Java grade.

grade_lib/Mmakefile:
      Override the setting of MLOBJS in non-C grade as we do in other
      directories containing executables; otherwise mmake will complain
      about the missing archives.

Julien.

diff --git a/grade_lib/Mmakefile b/grade_lib/Mmakefile
index 584d02e..ade0059 100644
--- a/grade_lib/Mmakefile
+++ b/grade_lib/Mmakefile
@@ -32,6 +32,12 @@ endif

  #-----------------------------------------------------------------------------#

+ifneq ("$(filter csharp% java% erlang%,$(GRADE))","")
+MLOBJS =
+endif
+
+#-----------------------------------------------------------------------------#
+
  # The main targets are the executables of the utilities that use and test
  # the grade library. The grade "library" itself is not a target, because
  # it is intended to be used *only* by these utilities (and perhaps later,


More information about the reviews mailing list