diff --git a/debian/changelog b/debian/changelog index 22666a48..26af2237 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,7 @@ llvm-toolchain-snapshot (1:12~++20200804122259+4be13b15d69-1~exp1) UNRELEASED; u [ John Paul Adrian Glaubitz ] * Link against libatomic on mipsel to fix FTBFS in stage2 + * Link against libatomic on powerpc to fix FTBFS in stage2 -- Sylvestre Ledru Tue, 04 Aug 2020 12:26:34 +0200 diff --git a/debian/rules b/debian/rules index 3d0d9639..6c027a36 100755 --- a/debian/rules +++ b/debian/rules @@ -53,7 +53,7 @@ ifneq (,$(filter $(DEB_HOST_ARCH),i386 armel mips mipsel powerpc powerpcspe risc CMAKE_EXTRA += -DLIBOMP_LIBFLAGS="-latomic" -DCMAKE_SHARED_LINKER_FLAGS="-latomic" endif -ifneq (,$(filter $(DEB_HOST_ARCH),armel mipsel riscv64)) +ifneq (,$(filter $(DEB_HOST_ARCH),armel mipsel powerpc 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. LDFLAGS_EXTRA += -latomic