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
d93bca96
Commit
d93bca96
authored
Jan 21, 2021
by
Isuru Fernando
Browse files
set an env variable for cross compiling for downstream scripts
parent
5755d8bd
Changes
1
Hide 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 @
d93bca96
...
@@ -451,6 +451,7 @@ function macos_arm64_build_wrap {
...
@@ -451,6 +451,7 @@ function macos_arm64_build_wrap {
export
FCFLAGS+
=
" -arch arm64"
export
FCFLAGS+
=
" -arch arm64"
export
FC
=
$FC_ARM64
export
FC
=
$FC_ARM64
export
MACOSX_DEPLOYMENT_TARGET
=
"11.0"
export
MACOSX_DEPLOYMENT_TARGET
=
"11.0"
export
CROSS_COMPILING
=
1
export
LDFLAGS+
=
" -arch arm64 -L
$BUILD_PREFIX
/lib -Wl,-rpath,
$BUILD_PREFIX
/lib
${
FC_ARM64_LDFLAGS
:-}
"
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
# This would automatically let autoconf know that we are cross compiling for arm64 darwin
export
host_alias
=
"aarch64-apple-darwin20.0.0"
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