From 41e62d70a6691aa8676228c02d8c2abd3cbc0f77 Mon Sep 17 00:00:00 2001 From: Haroon Khel <34969545+Haroon-Khel@users.noreply.github.com> Date: Tue, 3 Oct 2023 17:08:48 +0100 Subject: [PATCH] Update build-farm/platform-specific-configurations/mac.sh Co-authored-by: Stewart X Addison <6487691+sxa@users.noreply.github.com> --- build-farm/platform-specific-configurations/mac.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-farm/platform-specific-configurations/mac.sh b/build-farm/platform-specific-configurations/mac.sh index 5d90318b3..7f8c61621 100755 --- a/build-farm/platform-specific-configurations/mac.sh +++ b/build-farm/platform-specific-configurations/mac.sh @@ -30,7 +30,7 @@ if [ "${JAVA_TO_BUILD}" == "${JDK8_VERSION}" ] then XCODE_SWITCH_PATH="/Applications/Xcode-11.7.app" export CONFIGURE_ARGS_FOR_ANY_PLATFORM="${CONFIGURE_ARGS_FOR_ANY_PLATFORM} --with-toolchain-type=clang" - if [[ "${MACHINEARCHITECURE}" == "arm64" ]] && [[ "${ARCHITECTURE}" == "x64" ]]; then + if [[ "${MACHINEARCHITECTURE}" == "arm64" ]] && [[ "${ARCHITECTURE}" == "x64" ]]; then export CONFIGURE_ARGS_FOR_ANY_PLATFORM="${CONFIGURE_ARGS_FOR_ANY_PLATFORM} --openjdk-target=x86_64-apple-darwin" export MAC_ROSETTA_PREFIX="arch -x86_64" fi