Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
5755d8bd
Commit
5755d8bd
authored
Jan 21, 2021
by
Isuru Fernando
Browse files
set MACOSX_DEPLOYMENT_TARGET for arm64 build
parent
7bc0f343
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
osx_utils.sh
osx_utils.sh
+1
-0
No files found.
osx_utils.sh
View file @
5755d8bd
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment