Commit 5755d8bd authored by Isuru Fernando's avatar Isuru Fernando
Browse files

set MACOSX_DEPLOYMENT_TARGET for arm64 build

parent 7bc0f343
......@@ -450,6 +450,7 @@ function macos_arm64_build_wrap {
export ARCHFLAGS+=" -arch arm64"
export FCFLAGS+=" -arch arm64"
export FC=$FC_ARM64
export MACOSX_DEPLOYMENT_TARGET="11.0"
export LDFLAGS+=" -arch arm64 -L$BUILD_PREFIX/lib -Wl,-rpath,$BUILD_PREFIX/lib ${FC_ARM64_LDFLAGS:-}"
# This would automatically let autoconf know that we are cross compiling for arm64 darwin
export host_alias="aarch64-apple-darwin20.0.0"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment