Skip to content

Commit

Permalink
Merge branch 'master' into add_mac_sbom_repro
Browse files Browse the repository at this point in the history
  • Loading branch information
steelhead31 authored May 15, 2024
2 parents b588be1 + f4f2318 commit 39ec87e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sbin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,8 @@ buildingTheRestOfTheConfigParameters() {

# For jdk-17+ aarch64 linux, we need to add --enable-compatible-cds-alignment, until upstream
# fix for https://bugs.openjdk.org/browse/JDK-8331942 is merged into all jdk-17+ versions
if [ "${BUILD_CONFIG[OPENJDK_FEATURE_NUMBER]}" -ge 17 ] && [ "${BUILD_CONFIG[OS_KERNEL_NAME]}" == "linux" ] && [ "${BUILD_CONFIG[OS_ARCHITECTURE]}" == "aarch64" ]; then
# (but not for OpenJ9 where it's not supported)
if [ "${BUILD_CONFIG[OPENJDK_FEATURE_NUMBER]}" -ge 17 ] && [ "${BUILD_CONFIG[OS_KERNEL_NAME]}" == "linux" ] && [ "${BUILD_CONFIG[OS_ARCHITECTURE]}" == "aarch64" ] && [ "${BUILD_CONFIG[BUILD_VARIANT]}" != "${BUILD_VARIANT_OPENJ9}" ]; then
addConfigureArg "--enable-compatible-cds-alignment" ""
fi
}
Expand Down

0 comments on commit 39ec87e

Please sign in to comment.