[m-rev.] diff: fix problem building stage 1 compiler in Java grade
Julien Fischer
jfischer at opturion.com
Mon Jun 29 16:05:27 AEST 2020
Fix problem building stage 1 compiler in Java grade.
scripts/Mercury.config.bootstrap.in:
Pass --restricted-command-line to the bootstrap compiler. On Windows, the
command lines with which we invoke the Java compiler in the compiler
directory are apparently "too long".
diff --git a/scripts/Mercury.config.bootstrap.in b/scripts/Mercury.config.bootstrap.in
index 00a8bb1..f0d7fc2 100644
--- a/scripts/Mercury.config.bootstrap.in
+++ b/scripts/Mercury.config.bootstrap.in
@@ -128,6 +128,7 @@ DEFAULT_MCFLAGS=\
--sync-term-size "@SYNC_TERM_SIZE@" \
--host-env-type "@HOST_ENV_TYPE@" \
--target-env-type "@TARGET_ENV_TYPE@" \
+ @RESTRICTED_COMMAND_LINE_OPT@ \
@HAVE_DELAY_SLOT@ \
@HAVE_BOXED_FLOATS@ \
@HAVE_BOXED_INT64S@ \
More information about the reviews
mailing list