changeset 58408:d25079af1459

8241034: Fix a configuring error with "-Xmx2048M: command not found" Reviewed-by: mikael, erikj
author jiefu
date Mon, 16 Mar 2020 22:43:44 +0800
parents 80eaef8e3e60
children 500f99ff1921
files make/autoconf/build-performance.m4
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/autoconf/build-performance.m4	Mon Mar 16 12:27:42 2020 +0000
+++ b/make/autoconf/build-performance.m4	Mon Mar 16 22:43:44 2020 +0800
@@ -434,7 +434,7 @@
   fi
 
   JAVAC_SERVER_AVAILABLE=true
-  SJAVAC_MEMORY_OPT=-Xms${MS_VALUE}M -Xmx${MX_VALUE}M
+  SJAVAC_MEMORY_OPT="-Xms${MS_VALUE}M -Xmx${MX_VALUE}M"
   UTIL_ADD_JVM_ARG_IF_OK([$SJAVAC_MEMORY_OPT],SJAVAC_SERVER_JAVA_FLAGS,[$SJAVAC_SERVER_JAVA])
   if test "x$JVM_ARG_OK" = "xfalse"; then
     AC_MSG_WARN([Could not set '$SJAVAC_MEMORY_OPT' on bootjdk, disabling sjavac and javac server])