Skip to content

Commit 4beaad2

Browse files
committed
Revert to using sbt-launch.jar to run SBT
1 parent f5cda1c commit 4beaad2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

variables.mk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,9 @@ SBT_CLIENT_FLAG = --client
192192
endif
193193

194194
# passes $(JAVA_TOOL_OPTIONS) from env to java
195-
SBT_BIN ?= sbt
195+
# 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
196198
SBT = $(SBT_BIN) $(SBT_CLIENT_FLAG)
197199
SBT_NON_THIN = $(subst $(SBT_CLIENT_FLAG),,$(SBT))
198200

0 commit comments

Comments
 (0)