Skip to content

Commit 4360798

Browse files
committed
Correctly cross compile zero variants
1 parent 76443be commit 4360798

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mmtk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ lto = true
1818
[package.metadata.openjdk]
1919
# Our CI matches the following line and extract mmtk/openjdk. If this line is updated, please check ci yaml files and make sure it works.
2020
openjdk_repo = "https://github.com/mmtk/jdk.git"
21-
openjdk_version = "5fc428f6349bfa137e14a5fcebbf2cb37caeb193"
21+
openjdk_version = "2632c4f7b5366bed4d0cb91ea5ffe93541a70e30"
2222

2323
[dependencies]
2424
libc = "0.2"

openjdk/CompileThirdPartyHeap.gmk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ CARGO_TARGET_FLAG =
7575
ifeq ($(COMPILE_TYPE), cross)
7676
ifneq ($(CREATING_BUILDJDK), true)
7777
# Set the CARGO_TARGET based on the architecture
78-
ifeq ($(HOTSPOT_TARGET_CPU_ARCH), riscv64)
78+
ifeq ($(OPENJDK_TARGET_CPU_ARCH), riscv64)
7979
CARGO_TARGET = riscv64gc-unknown-linux-gnu
8080
endif
81-
ifeq ($(HOTSPOT_TARGET_CPU_ARCH), aarch64)
81+
ifeq ($(OPENJDK_TARGET_CPU_ARCH), aarch64)
8282
CARGO_TARGET = aarch64-unknown-linux-gnu
8383
endif
8484
CARGO_EXECUTABLE = cross

0 commit comments

Comments
 (0)