We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cc6eef2 + cf0fd8b commit 1ba14eeCopy full SHA for 1ba14ee
closed/autoconf/custom-spec.gmk.in
@@ -138,6 +138,11 @@ endif
138
ifeq (riscv64,$(OPENJDK_TARGET_CPU))
139
ifeq (cross,$(COMPILE_TYPE))
140
export SYSROOT_CFLAGS
141
+ # Change the prefix of the cross toolchain if the corresponding
142
+ # software package is installed on the host system.
143
+ ifeq (install,$(RISCV_TOOLCHAIN_TYPE))
144
+ export RISCV_CROSSTOOLS_PREFIX := riscv64-linux-gnu
145
+ endif
146
else
147
JAVA_FLAGS += -DserverStartupTimeout=36000
148
endif
0 commit comments