[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1133678: mold: Please don't build-depend on clang on arches where it's not available



Source: mold
Version: 2.40.4+dfsg-2.1
Severity: important
Tags: patch
X-Debbugs-Cc: debian-alpha@lists.debian.org,debian-hppa@lists.debian.org,debian-68k@lists.debian.org,debian-superh@lists.debian.org
User: debian-68k@lists.debian.org
Usertags: alpha hppa m68k sh4

Hi,

this previous change [1] to mold made it BD-Uninstallable on architectures where
clang is not available. Since those build dependencies are optional according to
the commit message, clang should be added to Build-Depends on only on architectures
where its available.

The attached patch fixes this.

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
--- debian/control.orig	2025-11-22 18:25:50.000000000 +0100
+++ debian/control	2026-04-13 17:37:17.996915777 +0200
@@ -10,7 +10,7 @@
  libtbb-dev (>= 2021.9.0),
  libzstd-dev,
  zlib1g-dev,
- clang,
+ clang [amd64 arm64 armhf i386 loong64 ppc64el risc64 s390x powerpc ppc64 sparc64 x32],
  gcc-multilib [amd64 i386 powerpc ppc64 s390x sparc64 x32],
  gdb,
  zstd,

Reply to: