We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 537bce8 + 4beaad2 commit d0ce14aCopy full SHA for d0ce14a
variables.mk
@@ -192,7 +192,9 @@ SBT_CLIENT_FLAG = --client
192
endif
193
194
# passes $(JAVA_TOOL_OPTIONS) from env to java
195
-SBT_BIN ?= sbt
+# Use java -jar approach by default so that SBT thin-client sees the JAVA flags
196
+# Workaround for behavior reported here: https://github.com/sbt/sbt/issues/6468
197
+SBT_BIN ?= java -jar $(ROCKETCHIP_DIR)/sbt-launch.jar
198
SBT = $(SBT_BIN) $(SBT_CLIENT_FLAG)
199
SBT_NON_THIN = $(subst $(SBT_CLIENT_FLAG),,$(SBT))
200
0 commit comments