Merge pull request #44855 from thaJeztah/23.0_backport_fix_arm64_build
[23.0 backport] Dockerfile: prefer ld for building against arm64
This commit is contained in:
commit
f825537119
1 changed files with 1 additions and 1 deletions
|
@ -583,7 +583,7 @@ ARG PACKAGER_NAME
|
|||
ENV PREFIX=/tmp
|
||||
RUN <<EOT
|
||||
# in bullseye arm64 target does not link with lld so configure it to use ld instead
|
||||
if xx-info is-cross && [ "$(xx-info arch)" = "arm64" ]; then
|
||||
if [ "$(xx-info arch)" = "arm64" ]; then
|
||||
XX_CC_PREFER_LINKER=ld xx-clang --setup-target-triple
|
||||
fi
|
||||
EOT
|
||||
|
|
Loading…
Add table
Reference in a new issue