Ver Fonte

Merge pull request #44855 from thaJeztah/23.0_backport_fix_arm64_build

[23.0 backport] Dockerfile: prefer ld for building against arm64
Bjorn Neergaard há 2 anos atrás
pai
commit
f825537119
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -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