summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 3c3b4cee60..463e1753ba 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -581,7 +581,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