* Also explicitly link with -latomic on mips64el.

This commit is contained in:
Matthias Klose 2024-08-31 20:23:50 +02:00
parent 3ebcbd3735
commit c121d91f1c
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
llvm-toolchain-19 (1:19.1.0~++rc3-3) UNRELEASED; urgency=medium
* Also explicitly link with -latomic on mips64el.
-- Matthias Klose <doko@debian.org> Sat, 31 Aug 2024 20:22:25 +0200
llvm-toolchain-19 (1:19.1.0~++rc3-2) unstable; urgency=medium
* Fix binary-indep build.

2
debian/rules vendored
View File

@ -182,7 +182,7 @@ ifneq (,$(filter $(DEB_HOST_ARCH),sparc sparc64))
STAGE_1_CMAKE_EXTRA += -DLLVM_PARALLEL_LINK_JOBS=4
endif
ifneq (,$(filter $(DEB_HOST_ARCH),i386 hurd-i386 kfreebsd-i386 armel mipsel powerpc powerpcspe riscv64))
ifneq (,$(filter $(DEB_HOST_ARCH),i386 hurd-i386 kfreebsd-i386 armel mipsel mips64el powerpc powerpcspe riscv64))
# For some reason, in the stage2 build, when clang is used to compile
# itself. The atomic detection is failing on armel and riscv64. Forcing the inclusion
# everywhere and in all stages