File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -248,11 +248,14 @@ run-preprocessors-j9 : \
248248 $(OPENJ9_VM_BUILD_DIR)/compiler/jit.version \
249249 $(OPENJ9_VM_BUILD_DIR)/include/openj9_version_info.h
250250
251+ # Note that $(OUTPUTDIR) is different when building bootcycle-images,
252+ # so refer to toolchain.cmake in the same directory as $(SPEC).
253+
251254CMAKE_ARGS := \
252255 -C $(OPENJ9_TOPDIR)/runtime/cmake/caches/$(patsubst %_cross,%,$(OPENJ9_BUILDSPEC)).cmake \
253256 -DBOOT_JDK="$(BOOT_JDK)" \
254257 -DBUILD_ID=$(BUILD_ID) \
255- -DCMAKE_TOOLCHAIN_FILE="$(OUTPUTDIR)/ toolchain.cmake" \
258+ -DCMAKE_TOOLCHAIN_FILE="$(dir $(SPEC)) toolchain.cmake" \
256259 -DJ9VM_OMR_DIR="$(OPENJ9OMR_TOPDIR)" \
257260 -DJAVA_SPEC_VERSION=$(VERSION_FEATURE) \
258261 -DOMR_DDR=$(OPENJ9_ENABLE_DDR) \
You can’t perform that action at this time.
0 commit comments