diff --git a/debian/changelog b/debian/changelog index 1872701f..8bcba9cd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,7 @@ llvm-toolchain-7 (1:7.0.1~+rc3-2) UNRELEASED; urgency=medium * Force the chmod +x on llvm-X/bin/* because it was sometimes removed by the strip process * Improved the debian/patches/series presentation by creating categories + * Force the link to atomic also for i386 as it fails on Debian jessie too -- Sylvestre Ledru Mon, 10 Dec 2018 03:49:59 -0500 diff --git a/debian/rules b/debian/rules index 62624555..b38745dc 100755 --- a/debian/rules +++ b/debian/rules @@ -47,7 +47,7 @@ ifneq (,$(filter $(DEB_HOST_ARCH),s390x)) LIBCXX_EXCEPTIONS :=OFF endif -ifneq (,$(filter $(DEB_HOST_ARCH),armel mips mipsel powerpc powerpcspe riscv64)) +ifneq (,$(filter $(DEB_HOST_ARCH),i386 armel mips mipsel powerpc powerpcspe riscv64)) CMAKE_EXTRA += -DLIBOMP_LIBFLAGS="-latomic" -DCMAKE_SHARED_LINKER_FLAGS="-latomic" endif